57 $this->_blShowVendorArticleCnt = $blShowVendorArticleCnt;
66 $sFieldList = $oBaseObject->getSelectFields();
67 $sViewName = $oBaseObject->getViewName();
68 $this->
getBaseObject()->setShowArticleCnt($this->_blShowVendorArticleCnt);
72 $sWhere = $oBaseObject->getSqlActiveSnippet();
73 $sWhere = $sWhere ?
" where $sWhere and " :
' where ';
74 $sWhere .=
"{$sViewName}.oxtitle != '' ";
77 $sSelect =
"select {$sFieldList} from {$sViewName} {$sWhere} order by {$sViewName}.oxtitle";
90 $sActCat = str_replace(
'v_',
'', $sActCat);
97 $this->_oRoot =
oxNew(
"oxVendor");
98 $this->_oRoot->load(
'root');
104 foreach ($this as $sVndId => $oVendor) {
107 if ($sVndId == $sActCat) {
112 if ($sActCat == $oVendor->oxvendor__oxid->value) {
113 $this->_aPath[] = $oVendor;
147 $oVendor->oxcategories__oxid =
new oxField(
"v_" . $oVendor->oxvendor__oxid->value);
148 $oVendor->oxcategories__oxicon = $oVendor->oxvendor__oxicon;
149 $oVendor->oxcategories__oxtitle = $oVendor->oxvendor__oxtitle;
150 $oVendor->oxcategories__oxdesc = $oVendor->oxvendor__oxshortdesc;
152 $oVendor->setIsVisible(
true);
153 $oVendor->setHasVisibleSubCats(
false);
163 $this->_oClickedVendor = $oVendor;
188 $oEncoder->getVendorUrl($this->_oRoot);
192 foreach ($this as $sVndId => $value) {
193 $oEncoder->getVendorUrl($this->_aArray[$sVndId]);