44 protected $_aServiceKeys = array(
'oximpressum',
'oxagb',
'oxsecurityinfo',
'oxdeliveryinfo',
'oxrightofwithdrawal',
'oxorderinfo',
'oxcredits');
53 $this->_aServiceKeys = $aServiceKeys;
81 $this->
_load(self::TYPE_MAIN_MENU_LIST);
89 $this->
_load(self::TYPE_CATEGORY_MENU);
93 foreach ($this as $oContent) {
95 if (!isset($aArray[$oContent->getCategoryId()])) {
96 $aArray[$oContent->getCategoryId()] = array();
99 $aArray[$oContent->oxcontents__oxcatid->value][] = $oContent;
103 $this->_aArray = $aArray;
141 $this->
_load(self::TYPE_SERVICE_LIST);
150 $aExtractedContents = array();
151 foreach ($this as $oContent) {
152 $aExtractedContents[$oContent->getLoadId()] = $oContent;
155 $this->_aArray = $aExtractedContents;
169 $sSQLType =
" AND `oxtype` = " . $oDb->quote($iType);
171 if ($iType == self::TYPE_CATEGORY_MENU) {
172 $sSQLAdd =
" AND `oxcatid` IS NOT NULL AND `oxsnippet` = '0'";
175 if ($iType == self::TYPE_SERVICE_LIST) {
177 $sSQLAdd =
" AND OXLOADID IN (" . $sIdents .
")";
181 $sSql =
"SELECT * FROM {$sViewName} WHERE `oxactive` = '1' $sSQLType AND `oxshopid` = " . $oDb->quote($this->_sShopID) .
" $sSQLAdd ORDER BY `oxloadid`";