/** * Returns additional URL parameters which must be added to list products seo urls * * @return string */ public function getAddSeoUrlParams() { $sAddParams = parent::getAddSeoUrlParams(); if ($sParam = oxConfig::getParameter("searchrecomm", true)) { $sAddParams .= "&searchrecomm=" . rawurlencode($sParam); } return $sAddParams; }
/** * Returns additional URL parameters which must be added to list products dynamic urls * * @return string */ public function getAddUrlParams() { $sAddParams = parent::getAddUrlParams(); $sAddParams .= ($sAddParams ? '&' : '') . "listtype={$this->_sListType}"; if ($oManufacturer = $this->getActManufacturer()) { $sAddParams .= "&mnid=" . $oManufacturer->getId(); } return $sAddParams; }
/** * Returns additional URL parameters which must be added to list products dynamic urls * * @return string */ public function getAddUrlParams() { $sAddParams = parent::getAddUrlParams(); $sAddParams .= ($sAddParams ? '&' : '') . "listtype={$this->_sListType}"; if ($oVendor = $this->getActVendor()) { $sAddParams .= "&cnid=v_" . $oVendor->getId(); } return $sAddParams; }
/** * Returns current view meta description data * (calls parent::_collectMetaDescription()) * * @param string $sMeta category path * @param int $iLength max length of result, -1 for no truncation * @param bool $blDescTag if true - performs additional dublicate cleaning * * @return string $sString converted string */ protected function _prepareMetaDescription($sMeta, $iLength = 1024, $blDescTag = false) { return parent::_collectMetaDescription($sMeta, $iLength, $blDescTag); }