OXID eShop CE  4.8.12
 All Classes Files Functions Variables Pages
actions_main_ajax Class Reference
+ Inheritance diagram for actions_main_ajax:
+ Collaboration diagram for actions_main_ajax:

Public Member Functions

 removeArtFromAct ()
 addArtToAct ()
 setSorting ()
- 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

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

Protected Attributes

 $_blAllowExtColumns = true
 $_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 controls article assignment to action

Definition at line 6 of file actions_main_ajax.php.

Member Function Documentation

actions_main_ajax::_addFilter (   $sQ)
protected

Adds filter SQL to current query

Parameters
string$sQquery to add filter condition
Returns
string

Reimplemented from ajaxListComponent.

Definition at line 91 of file actions_main_ajax.php.

actions_main_ajax::_getQuery ( )
protected

Returns SQL query for data to fetc

Returns
string

Reimplemented from ajaxListComponent.

Definition at line 46 of file actions_main_ajax.php.

actions_main_ajax::_getSorting ( )
protected

Returns SQL query addon for sorting

Returns
string

Reimplemented from ajaxListComponent.

Definition at line 112 of file actions_main_ajax.php.

actions_main_ajax::addArtToAct ( )

Adds article to Promotions list

Returns
null

Definition at line 142 of file actions_main_ajax.php.

actions_main_ajax::removeArtFromAct ( )

Removes article from Promotions list

Returns
null

Definition at line 124 of file actions_main_ajax.php.

actions_main_ajax::setSorting ( )

Sets sorting position for current action article

Returns
null

Definition at line 179 of file actions_main_ajax.php.

Member Data Documentation

actions_main_ajax::$_aColumns
protected
Initial value:
array( 'container1' => array(
array( 'oxartnum', 'oxarticles', 1, 0, 0 ),
array( 'oxtitle', 'oxarticles', 1, 1, 0 ),
array( 'oxean', 'oxarticles', 1, 0, 0 ),
array( 'oxmpn', 'oxarticles', 0, 0, 0 ),
array( 'oxprice', 'oxarticles', 0, 0, 0 ),
array( 'oxstock', 'oxarticles', 0, 0, 0 ),
array( 'oxid', 'oxarticles', 0, 0, 1 )
),
'container2' => array(
array( 'oxartnum', 'oxarticles', 1, 0, 0 ),
array( 'oxsort', 'oxactions2article', 1, 0, 0 ),
array( 'oxtitle', 'oxarticles', 1, 1, 0 ),
array( 'oxean', 'oxarticles', 1, 0, 0 ),
array( 'oxmpn', 'oxarticles', 0, 0, 0 ),
array( 'oxprice', 'oxarticles', 0, 0, 0 ),
array( 'oxstock', 'oxarticles', 0, 0, 0 ),
array( 'oxid', 'oxactions2article', 0, 0, 1 )
)
)

Definition at line 20 of file actions_main_ajax.php.

actions_main_ajax::$_blAllowExtColumns = true
protected

Definition at line 13 of file actions_main_ajax.php.


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