report/TCPReporter. ReportBean

This inner class encapsulates a chunk of information in XML format, ready to be
transmitted to the remote reports server.

Constructor

new ReportBean(id, $data)

ReportBean constructor

Parameters:
NameTypeDescription
idstring

The main identifier of this ReportBean. Current valid values are:
get property, get_properties, add session, add activity, get groups, get users,
get user data, get group data, new group, new user and multiple.

$dataexternal:jQuery
    • Optional XML data to be added to this bean

Members

$bean :external:jQuery

The main jQuery XML object managed by this ReportBean

Methods

appendData($data)

Adds an XML element to the bean

Parameters:
NameTypeDescription
$dataexternal:jQuery

The XML element to be added to this bean

setParam(name, value)

Adds an XML element of type param to this ReportBean

Parameters:
NameTypeDescription
namestring

The key name of the parameter

valuestring | number | boolean

The value of the parameter