90 if ($oManufacturer->getId() !=
'root') {
127 $sManufacturerId = $oManufacturer->getId();
130 $iNrofCatArticles = (int) $this->
getConfig()->getConfigParam(
'iNrofCatArticles');
131 $iNrofCatArticles = $iNrofCatArticles ? $iNrofCatArticles : 1;
133 $oArtList =
oxNew(
'oxarticlelist');
134 $oArtList->setSqlLimit($iNrofCatArticles * $this->
_getRequestPageNr(), $iNrofCatArticles);
138 $this->_iAllArtCnt = $oArtList->loadManufacturerArticles($sManufacturerId, $oManufacturer);
141 $this->_iCntPages = round($this->_iAllArtCnt / $iNrofCatArticles + 0.49);
143 return array($oArtList, $this->_iAllArtCnt);
155 $sId = $oManufacturer->getId();
176 $sUrl = $oManufacturer->getBaseSeoLink($iLang, $iPage);
193 return $oManufacturer->getLink();
206 if ($this->_blVisibleSubCats === null) {
207 $this->_blVisibleSubCats =
false;
210 if ($oManufacturer->getId() ==
'root') {
211 $this->_blVisibleSubCats = $oManufacturerTree->count();
212 $this->_oSubCatList = $oManufacturerTree;
228 if ($this->_oSubCatList === null) {
229 $this->_oSubCatList = $this->
hasVisibleSubCats() ? $this->_oSubCatList : array();
242 if ($this->_aArticleList === null) {
243 $this->_aArticleList = array();
246 if ($oManufacturer && ($oManufacturer->getId() !=
'root') && $oManufacturer->getIsVisible()) {
247 list($aArticleList, $iAllArtCnt) = $this->
_loadArticles($oManufacturer);
249 $this->_aArticleList = $aArticleList;
265 if ($this->_sCatTitle === null) {
266 $this->_sCatTitle =
'';
269 $this->_sCatTitle = $oManufacturer->oxmanufacturers__oxtitle->value;
286 $aPath = $oManufacturerTree->getPath();
299 if ($this->_oActCategory === null) {
300 $this->_oActCategory =
false;
303 $this->_oActCategory = $oManufacturer;
318 if ($this->_sCatTreePath === null) {
319 $this->_sCatTreePath =
false;
321 $this->_sCatTreePath = $oManufacturerTree->getPath();
337 $sSuffix = $this->
getConfig()->getActiveShop()->oxshops__oxtitlesuffix->value;
394 $sAddParams .= ($sAddParams ?
'&' :
'') .
"listtype={$this->_sListType}";
396 $sAddParams .=
"&mnid=" . $oManufacturer->getId();
414 foreach ($oCatTree->getPath() as $oCat) {
416 $aCatPath[
'link'] = $oCat->getLink();
417 $aCatPath[
'title'] = $oCat->oxmanufacturers__oxtitle->value;
419 $aPaths[] = $aCatPath;