IP.Board  3.3.0
report_markets Class Reference
Inheritance diagram for report_markets:
report

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'" )

Detailed Description

Market Reports


Constructor & Destructor Documentation

__construct ( view = '',
timestamp = 0,
series = NULL,
type = '' 
)

Construct

Reimplemented from report.


Member Function Documentation

_getOptions ( chosen,
all 
) [protected]

Get Options Parent method

Parameters:
arrayList of selected values
boolIf true, previous value will be ignores and all options will be chosen
Returns:
string HTML contining <option> tags

Reimplemented from report.

parseResult ( value) [protected]

Parse Result

Parameters:
mixedThe value from the database
Returns:
mixed Value to display

Reimplemented from report.

translateSeriesValues ( series) [protected]

Translate Series

Parameters:
arrayarray( Series => List of IDs )
arrayarray( Series => List of ID => Name pairs

Reimplemented from report.


Field Documentation

$joins [protected]
Initial value:
 array( array(
                'select'        => 'c.cm_country',
                'from'          => array( 'nexus_customers' => 'c' ),
                'where'         => 't.t_member=c.member_id'
                ) )

Reimplemented from report.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables