protected function setVariableValues() {
 	parent::setVariableValues();    	
 	$this->setVariable('invoice', $this->payout->getInvoice());
 	$this->setVariable('affiliatenote', $this->payout->getAffiliateNote());
 	$this->setVariable('amount', $this->payout->getAmountAsText());
 	$this->setVariable('invoicenumber', $this->payout->getInvoiceNumber());
 }
 protected function setVariableValues() {
     parent::setVariableValues();
     
     $this->setVariable('directlinks_approved', $this->approvedDirectLinks);
     $this->setVariable('directlinks_declined', $this->declinedDirectLinks);
     $this->setVariable('directlinks_pending', $this->pendingDirectLinks);
     $this->setVariable('directlinks_deleted', $this->deletedDirectLinks);
 }
 protected function setVariableValues() {
     parent::setVariableValues();
     $quickTaskGroup = new Gpf_Tasks_QuickTaskGroup();
     $this->setVariable('new_user_signup_approve_link', 
                         $this->createApproveDeclineTask($quickTaskGroup, Pap_Common_Constants::STATUS_APPROVED));
     $this->setVariable('new_user_signup_decline_link',
                         $this->createApproveDeclineTask($quickTaskGroup, Pap_Common_Constants::STATUS_DECLINED));
     $this->setVariable('new_user_signup_status', $this->getUser()->getStatus());
 }
 protected function setVariableValues() {
     parent::setVariableValues();
     $this->setVariable('campaignid', $this->campaign->getId());
     $this->setVariable('campaignname', Gpf_Lang::_localizeRuntime($this->campaign->getName(), $this->getRecipientLanguage()));
     $this->setVariable('campaignstatus', Pap_Common_Constants::getStatusAsText($this->campaign->getCampaignStatus()));
     $this->setVariable('campaigntype', $this->getTypeAsText($this->campaign->getCampaignType()));
     $this->setVariable('campaigndescription', Gpf_Lang::_localizeRuntime($this->campaign->getDescription(), $this->getRecipientLanguage()));
     $this->setVariable('campaignlongdescription', Gpf_Lang::_localizeRuntime($this->campaign->getLongDescription(), $this->getRecipientLanguage()));
 }
 protected function setVariableValues() {
     parent::setVariableValues();
     
     $this->createQuickTaskVariables();
     $this->setVariable('directlink_url', $this->directLink->getUrl());
     $this->setVariable('directlink_note', $this->directLink->getNote());
     $this->setVariable('directlink_approve', $this->quickTaskApproveUrl);
     $this->setVariable('directlink_decline', $this->quickTaskDeclineUrl);
 }
示例#6
0
 protected function setVariableValues() {
 	parent::setVariableValues();
 	
 	$this->setVariable('payment', $this->payout->getAmountAsText());
 	$this->setVariable('payoutcurrency', $this->payout->getCurrency()->getSymbol());
 	$this->setVariable('invoicenumber', $this->payout->getInvoiceNumber());
 	if ($this->payout->getPayoutOption() != null) {
         $this->setVariable('payoutmethod', Gpf_Lang::_localizeRuntime($this->payout->getPayoutOption()->getName(), $this->getRecipientLanguage()));
 	}
 }
示例#7
0
    protected function setVariableValues() {
        parent::setVariableValues();

        $transactionFields = Pap_Common_TransactionFields::getInstance();
        $this->updateTransactionFields($transactionFields);
        $transactionValues = $transactionFields->getTransactionFieldsValues();
        foreach($transactionValues as $code => $value) {
            if ($code == Pap_Common_TransactionFields::CAMPAIGNNAME) {
                $value = Gpf_Lang::_localizeRuntime($value, $this->getRecipientLanguage());
            }
            if ($code == Pap_Common_TransactionFields::STATUS) {
                $value = Gpf_Lang::_($value, null, $this->getRecipientLanguage());
            }
            $this->setVariable($code, $value);
        }
    }
 protected function setVariableValues() {
 	parent::setVariableValues();
 	$this->setVariable("emailsubject", $this->userSubject);
 	$this->setVariable("emailtext", $this->userText);
 }    
示例#9
0
	protected function setUserVariables() {
		parent::setVariableValues();
	}
 protected function setVariableValues() {
     parent::setVariableValues();
     $this->setVariable('confirmationLink', $this->createApproveDeclineTask(Pap_Common_Constants::STATUS_APPROVED));
 }