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

Public Member Functions

 removeCatOrderArticle ()
 addCatOrderArticle ()
 saveNewOrder ()
 remNewOrder ()
- 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 ()
 _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 ()
 _addFilter ($sQ)
 _getAll ($sQ)
 _getSortDir ()
 _getStartIndex ()
 _getTotalCount ($sQ)
 _getDataFields ($sQ)
 _outputResponse ($aData)
 _output ($sOut)
 _getViewName ($sTable)
 _getData ($sCountQ, $sQ)

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 category articles order

Definition at line 6 of file category_order_ajax.php.

Member Function Documentation

category_order_ajax::_getQuery ( )
protected

Returns SQL query for data to fetc

Returns
string

Reimplemented from ajaxListComponent.

Definition at line 39 of file category_order_ajax.php.

category_order_ajax::_getSorting ( )
protected

Returns SQL query addon for sorting

Returns
string

Reimplemented from ajaxListComponent.

Definition at line 70 of file category_order_ajax.php.

category_order_ajax::addCatOrderArticle ( )

Adds article to list for sorting in category

Returns
string

Definition at line 126 of file category_order_ajax.php.

category_order_ajax::remNewOrder ( )

Removes category articles ordering set by saveneworder() method.

Returns
null

Definition at line 198 of file category_order_ajax.php.

category_order_ajax::removeCatOrderArticle ( )

Removes article from list for sorting in category

Returns
string

Definition at line 94 of file category_order_ajax.php.

category_order_ajax::saveNewOrder ( )

Saves category articles ordering.

Returns
null

Definition at line 163 of file category_order_ajax.php.

Member Data Documentation

category_order_ajax::$_aColumns
protected
Initial value:
array( 'container1' => array(
array( 'oxartnum', 'oxarticles', 1, 0, 0 ),
array( 'oxtitle', 'oxarticles', 1, 1, 0 ),
array( 'oxpos', 'oxobject2category', 1, 0, 0 ),
array( 'oxean', 'oxarticles', 0, 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( 'oxtitle', 'oxarticles', 1, 1, 0 ),
array( 'oxean', 'oxarticles', 0, 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 )
)
)

Definition at line 13 of file category_order_ajax.php.


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