OXID eShop CE  6.1.5
OxidEsales\EshopCommunity\Application\Model\ContentList Class Reference
+ Inheritance diagram for OxidEsales\EshopCommunity\Application\Model\ContentList:
+ Collaboration diagram for OxidEsales\EshopCommunity\Application\Model\ContentList:

Public Member Functions

 setServiceKeys ($aServiceKeys)
 
 getServiceKeys ()
 
 __construct ()
 
 loadMainMenulist ()
 
 loadCatMenues ()
 
 loadServices ()
 

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 ($type)
 
 _extractListToArray ()
 
 _getSQLByType ($iType)
 

Protected Attributes

 $_aServiceKeys = ['oximpressum', 'oxagb', 'oxsecurityinfo', 'oxdeliveryinfo', 'oxrightofwithdrawal', 'oxorderinfo', 'oxcredits']
 

Detailed Description

Content list manager. Collects list of content

Constructor & Destructor Documentation

◆ __construct()

OxidEsales\EshopCommunity\Application\Model\ContentList::__construct ( )

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

Member Function Documentation

◆ _extractListToArray()

OxidEsales\EshopCommunity\Application\Model\ContentList::_extractListToArray ( )
protected

Extract oxContentList object to associative array with oxloadid as keys.

◆ _getSQLByType()

OxidEsales\EshopCommunity\Application\Model\ContentList::_getSQLByType (   $iType)
protected

Creates SQL by type.

Parameters
integer$iTypetype.
Returns
string

◆ _load()

OxidEsales\EshopCommunity\Application\Model\ContentList::_load (   $type)
protected

Load category list data

Parameters
integer$type- type of content

◆ _loadFromDb()

OxidEsales\EshopCommunity\Application\Model\ContentList::_loadFromDb (   $iType)
protected

Get data from db

Parameters
integer$iType- type of content
Returns
array

◆ getServiceKeys()

OxidEsales\EshopCommunity\Application\Model\ContentList::getServiceKeys ( )

Gets services keys.

Returns
array

◆ loadCatMenues()

OxidEsales\EshopCommunity\Application\Model\ContentList::loadCatMenues ( )

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

◆ loadMainMenulist()

OxidEsales\EshopCommunity\Application\Model\ContentList::loadMainMenulist ( )

Loads main menue entries and generates list with links

◆ loadServices()

OxidEsales\EshopCommunity\Application\Model\ContentList::loadServices ( )

Load category list data.

◆ setServiceKeys()

OxidEsales\EshopCommunity\Application\Model\ContentList::setServiceKeys (   $aServiceKeys)

Sets service keys.

Parameters
array$aServiceKeys

Member Data Documentation

◆ $_aServiceKeys

OxidEsales\EshopCommunity\Application\Model\ContentList::$_aServiceKeys = ['oximpressum', 'oxagb', 'oxsecurityinfo', 'oxdeliveryinfo', 'oxrightofwithdrawal', 'oxorderinfo', 'oxcredits']
protected

◆ TYPE_CATEGORY_MENU

const OxidEsales\EshopCommunity\Application\Model\ContentList::TYPE_CATEGORY_MENU = 2

◆ TYPE_INFORMATION_CONTENTS

const OxidEsales\EshopCommunity\Application\Model\ContentList::TYPE_INFORMATION_CONTENTS = 0

◆ TYPE_MAIN_MENU_LIST

const OxidEsales\EshopCommunity\Application\Model\ContentList::TYPE_MAIN_MENU_LIST = 1

◆ TYPE_SERVICE_LIST

const OxidEsales\EshopCommunity\Application\Model\ContentList::TYPE_SERVICE_LIST = 3

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