OXID eShop CE  4.10.3
 All Classes Namespaces Files Functions Variables Pages
statistic_main_ajax Class Reference
+ Inheritance diagram for statistic_main_ajax:
+ Collaboration diagram for statistic_main_ajax:

Public Member Functions

 sortAsc ($oOne, $oSec)
 sortDesc ($oOne, $oSec)
 removeReportFromList ()
 addReportToList ()
- Public Member Functions inherited from ajaxListComponent
 init ($aColumns=null)
 getColumns ()
 setColumns ($aColumns)
 setName ($sName)
 processRequest ($sFunction=null)
 resetArtSeoUrl ($aArtIds, $aCatIds=null)
 resetContentCache ()
 resetCounter ($sCounterType, $sValue=null)
- Public Member Functions inherited from oxSuperCfg
 __call ($sMethod, $aArgs)
 __construct ()
 getConfig ()
 setConfig ($oConfig)
 getSession ()
 setSession ($oSession)
 getUser ()
 setUser ($oUser)
 isAdmin ()
 setAdminMode ($blAdmin)

Protected Member Functions

 _getData ($sCountQ, $sQ)
- Protected Member Functions inherited from ajaxListComponent
 _getActionIds ($sId)
 _getQuery ()
 _getDataQuery ($sQ)
 _getCountQuery ($sQ)
 _getSortCol ()
 _getColNames ($sId=null)
 _getIdentColNames ()
 _getVisibleColNames ()
 _getQueryCols ()
 _buildColsQuery ($aIdentCols, $blIdentCols=true)
 _isExtendedColumn ($sColumn)
 _getExtendedColQuery ($sViewTable, $sColumn, $iCnt)
 _getSorting ()
 _getLimit ($iStart)
 _getFilter ()
 _addFilter ($sQ)
 _getAll ($sQ)
 _getSortDir ()
 _getStartIndex ()
 _getTotalCount ($sQ)
 _getDataFields ($sQ)
 _outputResponse ($aData)
 _output ($sOut)
 _getViewName ($sTable)
 _resetContentCache ()

Protected Attributes

 $_aColumns
- Protected Attributes inherited from ajaxListComponent
 $_aPosDir = array('asc', 'desc')
 $_aColumns = array()
 $_iSqlLimit = 2500
 $_sContainer = null
 $_blAllowExtColumns = false

Additional Inherited Members

- Static Protected Attributes inherited from oxSuperCfg
static $_oConfig = null
static $_oSession = null
static $_oRights = null
static $_oActUser = null
static $_blIsAdmin = null

Detailed Description

Class manages statistics configuration

Deprecated:
since 5.3.0 (2016.04.07); It will be moved to statistics_module module.

Definition at line 8 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$sCountQthis param currently is not used as thsi mathod overrides default function behaviour
string$sQthis param currently is not used as thsi mathod overrides default function behaviour
Returns
array

Reimplemented from ajaxListComponent.

Definition at line 34 of file statistic_main_ajax.php.

statistic_main_ajax::addReportToList ( )

Adds selected report(s) to generating list.

Definition at line 172 of file statistic_main_ajax.php.

statistic_main_ajax::removeReportFromList ( )

Removes selected report(s) from generating list.

Definition at line 138 of file statistic_main_ajax.php.

statistic_main_ajax::sortAsc (   $oOne,
  $oSec 
)

Callback function used to apply ASC sorting

Parameters
array$oOnefirst item to check sorting
array$oSecsecond item to check sorting
Returns
int

Definition at line 107 of file statistic_main_ajax.php.

statistic_main_ajax::sortDesc (   $oOne,
  $oSec 
)

Callback function used to apply ASC sorting

Parameters
array$oOnefirst item to check sorting
array$oSecsecond item to check sorting
Returns
int

Definition at line 125 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)
)
)

Definition at line 16 of file statistic_main_ajax.php.


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