예제 #1
0
 /**
  * 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;
 }
예제 #2
0
파일: review.php 프로젝트: ioanok/symfoxid
 /**
  * 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;
 }