Pap_Api_ClickTracker::getGetParams PHP Method

getGetParams() protected method

protected getGetParams ( ) : Gpf_Net_Http_Request
return Gpf_Net_Http_Request
        protected function getGetParams()
        {
            $getParams = parent::getGetParams();
            if ($this->affiliateId != '') {
                $getParams->addQueryParam('AffiliateID', $this->affiliateId);
            }
            if ($this->bannerId != '') {
                $getParams->addQueryParam('BannerID', $this->bannerId);
            }
            if ($this->campaignId != '') {
                $getParams->addQueryParam('CampaignID', $this->campaignId);
            }
            if ($this->channelId != '') {
                $getParams->addQueryParam('chan', $this->channelId);
            }
            if ($this->data1 != '') {
                $getParams->addQueryParam('pd1', $this->data1);
            }
            if ($this->data2 != '') {
                $getParams->addQueryParam('pd2', $this->data2);
            }
            return $getParams;
        }