![]() |
IP.Board
3.3.0
|
Public Member Functions | |
| __construct ($view='', $timestamp=0, $series=NULL, $type='') | |
Protected Member Functions | |
| _getOptions ($chosen, $all) | |
| parseResult ($value) | |
| translateSeriesValues ($series) | |
Protected Attributes | |
| $dateField = 't_date' | |
| $idField = 'cm_country' | |
| $joins | |
| $reportType = 'markets' | |
| $result = 'SUM(t_amount)' | |
| $table = array( 'nexus_transactions' => 't' ) | |
| $where = array( "t_status='okay'" ) | |
Market Reports
| __construct | ( | $ | view = '', |
| $ | timestamp = 0, |
||
| $ | series = NULL, |
||
| $ | type = '' |
||
| ) |
Construct
Reimplemented from report.
| _getOptions | ( | $ | chosen, |
| $ | all | ||
| ) | [protected] |
Get Options Parent method
| array | List of selected values |
| bool | If true, previous value will be ignores and all options will be chosen |
Reimplemented from report.
| parseResult | ( | $ | value | ) | [protected] |
Parse Result
| mixed | The value from the database |
Reimplemented from report.
| translateSeriesValues | ( | $ | series | ) | [protected] |
Translate Series
| array | array( Series => List of IDs ) |
| array | array( Series => List of ID => Name pairs |
Reimplemented from report.
$joins [protected] |
array( array(
'select' => 'c.cm_country',
'from' => array( 'nexus_customers' => 'c' ),
'where' => 't.t_member=c.member_id'
) )
Reimplemented from report.