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

Public Member Functions

 setServiceKeys ($aServiceKeys)
 getServiceKeys ()
 __construct ()
 loadMainMenulist ()
 loadCatMenues ()
 loadServices ()
- Public Member Functions inherited from oxList
 offsetExists ($offset)
 offsetGet ($offset)
 offsetSet ($offset, $oBase)
 offsetUnset ($offset)
 arrayKeys ()
 rewind ()
 current ()
 key ()
 prev ()
 next ()
 valid ()
 count ()
 clear ()
 assign ($aArray)
 reverse ()
 __construct ($sObjectName=null)
 __get ($sName)
 getArray ()
 init ($sObjectName, $sCoreTable=null)
 getBaseObject ()
 setBaseObject ($oObject)
 selectString ($sSql)
 add ($oObject)
 assignArray ($aData)
 setSqlLimit ($iStart, $iRecords)
 containsFieldValue ($oVal, $sFieldName)
 getList ()
- Public Member Functions inherited from oxSuperCfg
 __call ($sMethod, $aArgs)
 getConfig ()
 setConfig ($oConfig)
 getSession ()
 setSession ($oSession)
 getUser ()
 setUser ($oUser)
 isAdmin ()
 setAdminMode ($blAdmin)

Public Attributes

const TYPE_INFORMATION_CONTENTS = 0
const TYPE_MAIN_MENU_LIST = 1
const TYPE_CATEGORY_MENU = 2
const TYPE_SERVICE_LIST = 3

Protected Member Functions

 _loadFromDb ($iType)
 _load ($iType)
 _extractListToArray ()
 _getSQLByType ($iType)
- Protected Member Functions inherited from oxList
 _assignElement ($oListObject, $aDbFields)
 _getFieldLongName ($sFieldName)

Protected Attributes

 $_aServiceKeys = array('oximpressum', 'oxagb', 'oxsecurityinfo', 'oxdeliveryinfo', 'oxrightofwithdrawal', 'oxorderinfo', 'oxcredits')
- Protected Attributes inherited from oxList
 $_aArray = array()
 $_blRemovedActive = false
 $_sObjectsInListName = 'oxBase'
 $_sCoreTable = null
 $_sShopID = null
 $_aSqlLimit = array()

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

Content list manager. Collects list of content

Definition at line 8 of file oxcontentlist.php.

Constructor & Destructor Documentation

oxContentList::__construct ( )

Class constructor, initiates parent constructor (parent::oxList()).

Returns
null

Reimplemented from oxSuperCfg.

Definition at line 71 of file oxcontentlist.php.

Member Function Documentation

oxContentList::_extractListToArray ( )
protected

Extract oxContentList object to associative array with oxloadid as keys.

Definition at line 148 of file oxcontentlist.php.

oxContentList::_getSQLByType (   $iType)
protected

Creates SQL by type.

Parameters
integer$iTypetype.
Returns
string

Definition at line 165 of file oxcontentlist.php.

oxContentList::_load (   $iType)
protected

Load category list data

Parameters
integer$iType- type of content

Definition at line 127 of file oxcontentlist.php.

oxContentList::_loadFromDb (   $iType)
protected

Get data from db

Parameters
integer$iType- type of content
Returns
array

Definition at line 114 of file oxcontentlist.php.

oxContentList::getServiceKeys ( )

Gets services keys.

Returns
array

Definition at line 61 of file oxcontentlist.php.

oxContentList::loadCatMenues ( )

Load Array of Menue items and change keys of aList to catid

Definition at line 87 of file oxcontentlist.php.

oxContentList::loadMainMenulist ( )

Loads main menue entries and generates list with links

Definition at line 79 of file oxcontentlist.php.

oxContentList::loadServices ( )

Load category list data.

Definition at line 139 of file oxcontentlist.php.

oxContentList::setServiceKeys (   $aServiceKeys)

Sets service keys.

Parameters
array$aServiceKeys

Definition at line 51 of file oxcontentlist.php.

Member Data Documentation

oxContentList::$_aServiceKeys = array('oximpressum', 'oxagb', 'oxsecurityinfo', 'oxdeliveryinfo', 'oxrightofwithdrawal', 'oxorderinfo', 'oxcredits')
protected

Definition at line 44 of file oxcontentlist.php.

const oxContentList::TYPE_CATEGORY_MENU = 2

Definition at line 30 of file oxcontentlist.php.

const oxContentList::TYPE_INFORMATION_CONTENTS = 0

Definition at line 16 of file oxcontentlist.php.

const oxContentList::TYPE_MAIN_MENU_LIST = 1

Definition at line 23 of file oxcontentlist.php.

const oxContentList::TYPE_SERVICE_LIST = 3

Definition at line 37 of file oxcontentlist.php.


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