Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes

oxContentList Class Reference

Inheritance diagram for oxContentList:
Collaboration diagram for oxContentList:

List of all members.

Public Member Functions

 setServiceKeys ($aServiceKeys)
 getServiceKeys ()
 __construct ($sObjectsInListName= 'oxcontent')
 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 ($iType)
 _extractListToArray ()
 _getSQLByType ($iType)

Protected Attributes

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

Detailed Description

Content list manager. Collects list of content

Definition at line 8 of file oxcontentlist.php.


Constructor & Destructor Documentation

oxContentList.__construct ( sObjectsInListName = 'oxcontent'  ) 

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

Parameters:
string $sObjectsInListName optional and not used

Reimplemented from oxList.

Definition at line 70 of file oxcontentlist.php.


Member Function Documentation

oxContentList._extractListToArray (  )  [protected]

Extract oxContentList object to associative array with oxloadid as keys.

Definition at line 151 of file oxcontentlist.php.

oxContentList._getSQLByType ( iType  )  [protected]

Creates SQL by type.

Parameters:
$iType 
Returns:
string

Definition at line 168 of file oxcontentlist.php.

oxContentList._load ( iType  )  [protected]

Load category list data

Parameters:
integer $iType - type of content
Returns:
null

Definition at line 128 of file oxcontentlist.php.

oxContentList._loadFromDb ( iType  )  [protected]

Get data from db

Parameters:
integer $iType - type of content
Returns:
array

Definition at line 113 of file oxcontentlist.php.

oxContentList.getServiceKeys (  ) 

Gets services keys.

Returns:
array

Definition at line 60 of file oxcontentlist.php.

oxContentList.loadCatMenues (  ) 

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

Definition at line 86 of file oxcontentlist.php.

oxContentList.loadMainMenulist (  ) 

Loads main menue entries and generates list with links

Definition at line 78 of file oxcontentlist.php.

oxContentList.loadServices (  ) 

Load category list data.

Returns:
null

Definition at line 142 of file oxcontentlist.php.

oxContentList.setServiceKeys ( aServiceKeys  ) 

Sets service keys.

Parameters:
array $aServiceKeys

Definition at line 50 of file oxcontentlist.php.


Member Data Documentation

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

Definition at line 43 of file oxcontentlist.php.

Definition at line 29 of file oxcontentlist.php.

Definition at line 15 of file oxcontentlist.php.

Definition at line 22 of file oxcontentlist.php.

Definition at line 36 of file oxcontentlist.php.


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