Class Type
Type of display to be generated from the statistics.
This class is used by the Stats class.
Methods summary
public
|
#
__construct( string $name, string $variable, string $descriptiveName, string $type, boolean $adminOnly )
Type constructor: : sets the relevant information for the report. |
public
boolean
|
#
isGraph( )
Returns true is the requested statistics generates a graph, or false if it returns a text/table. |
public
string
|
#
getStatisticsScript(
Get the JS/PHP script to display the statistics. |
Properties summary
public
string
|
$m_Name
Name of the report. |
|
public
string
|
$m_Variable
Name of the column to target in the statistics table. |
|
public
string
|
$m_DescriptiveName
Descriptive name for the report. |
|
public
string
|
$m_Type
Type of report: one of 'text', 'piechart', 'linechart', 'dumptable'. |
|
public
boolean
|
$m_AdminOnly
Makes a particular report accessible only to the admin. |