85 if ( $oManufacturer->getId() !=
'root' ) {
150 $sManufacturerId = $oManufacturer->getId();
153 $iNrofCatArticles = (int) $this->
getConfig()->getConfigParam(
'iNrofCatArticles' );
154 $iNrofCatArticles = $iNrofCatArticles ? $iNrofCatArticles : 1;
156 $oArtList =
oxNew(
'oxarticlelist' );
157 $oArtList->setSqlLimit( $iNrofCatArticles * $this->
_getRequestPageNr(), $iNrofCatArticles );
161 $this->_iAllArtCnt = $oArtList->loadManufacturerArticles( $sManufacturerId, $oManufacturer );
164 $this->_iCntPages = round( $this->_iAllArtCnt / $iNrofCatArticles + 0.49 );
166 return array( $oArtList, $this->_iAllArtCnt );
178 $sId = $oManufacturer->getId();
198 $sUrl = $oManufacturer->getBaseSeoLink( $iLang, $iPage );
214 return $oManufacturer->getLink();
227 if ( $this->_blVisibleSubCats === null ) {
228 $this->_blVisibleSubCats =
false;
231 if ( $oManufacturer->getId() ==
'root' ) {
232 $this->_blVisibleSubCats = $oManufacturerTree->count();
233 $this->_oSubCatList = $oManufacturerTree;
248 if ( $this->_oSubCatList === null ) {
249 $this->_oSubCatList = $this->
hasVisibleSubCats() ? $this->_oSubCatList : array();
261 if ( $this->_aArticleList === null ) {
262 $this->_aArticleList = array();
264 if ( ( $oManufacturer = $this->
getActManufacturer() ) && ( $oManufacturer->getId() !=
'root' ) && $oManufacturer->getIsVisible() ) {
265 list( $aArticleList, $iAllArtCnt ) = $this->
_loadArticles( $oManufacturer );
267 $this->_aArticleList = $aArticleList;
282 if ( $this->_sCatTitle === null ) {
283 $this->_sCatTitle =
'';
286 $this->_sCatTitle = $oManufacturer->oxmanufacturers__oxtitle->value;
302 $aPath = $oManufacturerTree->getPath();
314 if ( $this->_oActCategory === null ) {
315 $this->_oActCategory =
false;
318 $this->_oActCategory = $oManufacturer;
332 if ( $this->_sCatTreePath === null ) {
333 $this->_sCatTreePath =
false;
335 $this->_sCatTreePath = $oManufacturerTree->getPath();
350 $sSuffix = $this->
getConfig()->getActiveShop()->oxshops__oxtitlesuffix->value;
406 $sAddParams .= ($sAddParams?
'&':
'') .
"listtype={$this->_sListType}";
408 $sAddParams .=
"&mnid=" . $oManufacturer->getId();
425 foreach ( $oCatTree->getPath() as $oCat ) {
427 $aCatPath[
'link'] = $oCat->getLink();
428 $aCatPath[
'title'] = $oCat->oxmanufacturers__oxtitle->value;
430 $aPaths[] = $aCatPath;