Data
Data PHP Methods
getDataArr() v5
Gets a list of stats data as an array
PARAMETERS:
NONE
RETURN VALUE:
array = list of stats data as an array getReport(string $reportName) v5
Gets a report of the loaded data as an array
PARAMETERS:
$reportName = string, Report name
RETURN VALUE:
array = report of the loaded data as an array getTotal() v5
Gets total amount of data values
PARAMETERS:
NONE
RETURN VALUE:
int = total amount of data values getTotals(string $type) v5
Gets report data total amount
PARAMETERS:
$type = string, Report type
RETURN VALUE:
int = report data total amount getValue(string $reportName, string $title, string $column) v5
Gets report data value
PARAMETERS:
$reportName = string, Report name
$title = string, Data title
$column = string, Data column
RETURN VALUE:
string = report data value hasReport(string $reportName) v5
Checks if a report exists (valid)
PARAMETERS:
$reportName = string, Report name
RETURN VALUE:
bool = True if the report exists(valid), false otherwise hasResults() v5
Checks if the report is empty
PARAMETERS:
NONE
RETURN VALUE:
bool = True if the report has result, false if empty loadRow($resRow) v5
Loads a data report row
PARAMETERS:
$resRow = array, Data report array
RETURN VALUE:
void __construct(Settings $reportSettings) v5
initialize report data object
PARAMETERS:
$reportSettings = object
RETURN VALUE:
voidData PHP Variables
🔎︎ %l4610%