Beispiel #1
0
 /**
  * returns additional url params for dynamic url building
  *
  * @return string
  */
 public function getDynUrlParams()
 {
     $sParams = parent::getDynUrlParams();
     if ($sCnId = oxRegistry::getConfig()->getRequestParameter('cnid')) {
         $sParams .= "&cnid={$sCnId}";
     }
     if ($sAnId = oxRegistry::getConfig()->getRequestParameter('anid')) {
         $sParams .= "&anid={$sAnId}";
     }
     if ($sListType = oxRegistry::getConfig()->getRequestParameter('listtype')) {
         $sParams .= "&listtype={$sListType}";
     }
     if ($sRecommId = oxRegistry::getConfig()->getRequestParameter('recommid')) {
         $sParams .= "&recommid={$sRecommId}";
     }
     return $sParams;
 }
 /**
  * returns additional url params for dynamic url building
  *
  * @return string
  */
 public function getDynUrlParams()
 {
     $sParams = parent::getDynUrlParams();
     if ($sCnId = oxRegistry::getConfig()->getRequestParameter('cnid')) {
         $sParams .= "&cnid={$sCnId}";
     }
     if ($sAnId = oxRegistry::getConfig()->getRequestParameter('anid')) {
         $sParams .= "&anid={$sAnId}";
     }
     if ($sListType = oxRegistry::getConfig()->getRequestParameter('listtype')) {
         $sParams .= "&listtype={$sListType}";
     }
     // @deprecated since v5.3 (2016-06-17); Listmania will be moved to an own module.
     if ($sRecommId = oxRegistry::getConfig()->getRequestParameter('recommid')) {
         $sParams .= "&recommid={$sRecommId}";
     }
     // END deprecated
     return $sParams;
 }