Public Member Functions | Protected Member Functions | Protected Attributes

statistic_main_ajax Class Reference

Inheritance diagram for statistic_main_ajax:
Collaboration diagram for statistic_main_ajax:

List of all members.

Public Member Functions

 sortAsc ($oOne, $oSec)
 sortDesc ($oOne, $oSec)
 removeReportFromList ()
 addReportToList ()

Protected Member Functions

 _getData ($sCountQ, $sQ)

Protected Attributes

 $_aColumns

Detailed Description

Class manages statistics configuration

Definition at line 6 of file statistic_main_ajax.php.


Member Function Documentation

statistic_main_ajax._getData ( sCountQ,
sQ 
) [protected]

Formats and returns statiistics configuration related data array for ajax response

Parameters:
string $sCountQ this param currently is not used as thsi mathod overrides default function behaviour
string $sQ this param currently is not used as thsi mathod overrides default function behaviour
Returns:
array

Reimplemented from ajaxListComponent.

Definition at line 31 of file statistic_main_ajax.php.

statistic_main_ajax.addReportToList (  ) 

Adds selected report(s) to generating list.

Returns:
null

Definition at line 167 of file statistic_main_ajax.php.

statistic_main_ajax.removeReportFromList (  ) 

Removes selected report(s) from generating list.

Returns:
null

Definition at line 132 of file statistic_main_ajax.php.

statistic_main_ajax.sortAsc ( oOne,
oSec 
)

Callback function used to apply ASC sorting

Parameters:
array $oOne first item to check sorting
array $oSec second item to check sorting
Returns:
int

Definition at line 101 of file statistic_main_ajax.php.

statistic_main_ajax.sortDesc ( oOne,
oSec 
)

Callback function used to apply ASC sorting

Parameters:
array $oOne first item to check sorting
array $oSec second item to check sorting
Returns:
int

Definition at line 118 of file statistic_main_ajax.php.


Member Data Documentation

statistic_main_ajax.$_aColumns [protected]
Initial value:
 array( 'container1' => array(    
                                        array( 'oxtitle', 'oxstat', 1, 0, 0 ),
                                        array( 'oxid',    'oxstat', 0, 0, 1 )
                                        ),
                                    'container2' => array(
                                        array( 'oxtitle',  'oxstat', 1, 0, 0 ),
                                        array( 'oxid',    'oxstat', 0, 0, 1 )
                                        )
                                )

Reimplemented from ajaxListComponent.

Definition at line 13 of file statistic_main_ajax.php.


The documentation for this class was generated from the following file: