예제 #1
0
 /**
  * sets detail link for campaigns
  *
  * @param oxarticle $oArticle article object
  *
  * @return oxarticle
  */
 protected function _setCampaignDetailLink($oArticle)
 {
     // #827
     if ($sCampaign = oxRegistry::getConfig()->getRequestParameter("sExportCampaign")) {
         // modify detaillink
         //#1166R - pangora - campaign
         $oArticle->appendLink("campaign={$sCampaign}");
         if (oxRegistry::getConfig()->getRequestParameter("blAppendCatToCampaign") && ($sCat = $this->getCategoryString($oArticle))) {
             $oArticle->appendLink("/{$sCat}");
         }
     }
     return $oArticle;
 }