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

Public Member Functions

 removeCatFromAttr ()
 addCatToAttr ()
- Public Member Functions inherited from ajaxListComponent
 init ($aColumns=null)
 getColumns ()
 setColumns ($aColumns)
 setName ($sName)
 processRequest ($sFunction=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 ()
- 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)
 _getSorting ()
 _getLimit ($iStart)
 _getFilter ()
 _addFilter ($sQ)
 _getAll ($sQ)
 _getSortDir ()
 _getStartIndex ()
 _getTotalCount ($sQ)
 _getDataFields ($sQ)
 _outputResponse ($aData)
 _output ($sOut)
 _getViewName ($sTable)
 _getData ($sCountQ, $sQ)
 _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 category attributes

Definition at line 6 of file attribute_category_ajax.php.

Member Function Documentation

attribute_category_ajax::_getQuery ( )
protected

Returns SQL query for data to fetc

Returns
string

Reimplemented from ajaxListComponent.

Definition at line 39 of file attribute_category_ajax.php.

attribute_category_ajax::addCatToAttr ( )

Adds category to Attributes list

Definition at line 98 of file attribute_category_ajax.php.

attribute_category_ajax::removeCatFromAttr ( )

Removes category from Attributes list

Definition at line 75 of file attribute_category_ajax.php.

Member Data Documentation

attribute_category_ajax::$_aColumns
protected
Initial value:
array('container1' => array(
array('oxtitle', 'oxcategories', 1, 1, 0),
array('oxdesc', 'oxcategories', 1, 1, 0),
array('oxid', 'oxcategories', 0, 0, 0),
array('oxid', 'oxcategories', 0, 0, 1)
),
'container2' => array(
array('oxtitle', 'oxcategories', 1, 1, 0),
array('oxdesc', 'oxcategories', 1, 1, 0),
array('oxid', 'oxcategories', 0, 0, 0),
array('oxid', 'oxcategory2attribute', 0, 0, 1),
array('oxid', 'oxcategories', 0, 0, 1)
),
'container3' => array(
array('oxtitle', 'oxattribute', 1, 1, 0),
array('oxsort', 'oxcategory2attribute', 1, 0, 0),
array('oxid', 'oxcategory2attribute', 0, 0, 1)
)
)

Definition at line 14 of file attribute_category_ajax.php.


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