/** * Template variable getter. Returns additional params for url * * @return string */ public function getAdditionalParams() { $sAddParams = oxUBase::getAdditionalParams(); if ($oRecomm = $this->getActiveRecommList()) { $sAddParams .= "&recommid=" . $oRecomm->getId(); } if ($sSearch = $this->getRecommSearch()) { $sAddParams .= "&searchrecomm=" . rawurlencode($sSearch); } return $sAddParams; }
/** * Template variable getter. Returns additional params for url * * @return string */ public function getAdditionalParams() { $sAddParams = oxUBase::getAdditionalParams(); if ($oActRecommList = $this->getActiveRecommList()) { $sAddParams .= '&recommid=' . $oActRecommList->getId(); } return $sAddParams; }