94 if ($oManufacturer->getId() !=
'root') {
129 $sManufacturerId = $oManufacturer->getId();
132 $iNrofCatArticles = (int) $this->
getConfig()->getConfigParam(
'iNrofCatArticles');
133 $iNrofCatArticles = $iNrofCatArticles ? $iNrofCatArticles : 1;
135 $oArtList =
oxNew(
'oxarticlelist');
136 $oArtList->setSqlLimit($iNrofCatArticles * $this->
_getRequestPageNr(), $iNrofCatArticles);
140 $this->_iAllArtCnt = $oArtList->loadManufacturerArticles($sManufacturerId, $oManufacturer);
143 $this->_iCntPages = round($this->_iAllArtCnt / $iNrofCatArticles + 0.49);
145 return array($oArtList, $this->_iAllArtCnt);
157 $sId = $oManufacturer->getId();
178 $sUrl = $oManufacturer->getBaseSeoLink($iLang, $iPage);
195 return $oManufacturer->getLink();
208 if ($this->_blVisibleSubCats === null) {
209 $this->_blVisibleSubCats =
false;
212 if ($oManufacturer->getId() ==
'root') {
213 $this->_blVisibleSubCats = $oManufacturerTree->count();
214 $this->_oSubCatList = $oManufacturerTree;
230 if ($this->_oSubCatList === null) {
231 $this->_oSubCatList = $this->
hasVisibleSubCats() ? $this->_oSubCatList : array();
244 if ($this->_aArticleList === null) {
245 $this->_aArticleList = array();
248 if ($oManufacturer && ($oManufacturer->getId() !=
'root') && $oManufacturer->getIsVisible()) {
249 list($aArticleList, $iAllArtCnt) = $this->
_loadArticles($oManufacturer);
251 $this->_aArticleList = $aArticleList;
267 if ($this->_sCatTitle === null) {
268 $this->_sCatTitle =
'';
271 $this->_sCatTitle = $oManufacturer->oxmanufacturers__oxtitle->value;
288 $aPath = $oManufacturerTree->getPath();
301 if ($this->_oActCategory === null) {
302 $this->_oActCategory =
false;
305 $this->_oActCategory = $oManufacturer;
320 if ($this->_sCatTreePath === null) {
321 $this->_sCatTreePath =
false;
323 $this->_sCatTreePath = $oManufacturerTree->getPath();
339 $sSuffix = $this->
getConfig()->getActiveShop()->oxshops__oxtitlesuffix->value;
396 $sAddParams .= ($sAddParams ?
'&' :
'') .
"listtype={$this->_sListType}";
398 $sAddParams .=
"&mnid=" . $oManufacturer->getId();
416 foreach ($oCatTree->getPath() as $oCat) {
418 $aCatPath[
'link'] = $oCat->getLink();
419 $aCatPath[
'title'] = $oCat->oxmanufacturers__oxtitle->value;
421 $aPaths[] = $aCatPath;