public function __construct() {
     parent::__construct();
     $this->mailTemplateFile = 'pay_day_reminder.stpl';
     $this->templateName = Gpf_Lang::_runtime('Merchant - Pay day reminder');
     $this->subject = Gpf_Lang::_runtime('Pay day reminder');
     $this->payAffiliatesList = new Pap_Mail_PayDayReminder_PayAffiliatesList();
 }
 public function __construct()
 {
     parent::__construct();
     $this->mailTemplateFile = 'email_account_test_mail.stpl';
     $this->isHtmlMail = true;
     $this->templateName = Gpf_Lang::_runtime('Email account test mail');
     $this->subject = $this->templateName;
 }
 public function __construct($saleId = null) {
     parent::__construct();
     $this->mailTemplateFile = 'splitcommissions_merchant_on_sale.stpl';
     $this->isHtmlMail = true;
     $this->templateName = Gpf_Lang::_runtime('Split Commission Merchant - New Sale / Lead');
     $this->subject = Gpf_Lang::_runtime('New sale summary mail');
     $this->saleId = $saleId;
 }
 public function __construct(Pap_Stats_Params $statsParams = null) {
     if (is_null($statsParams)) {
         $this->statsParams = new Pap_Stats_Params();
     } else {
         $this->statsParams = $statsParams;
         
     }
     
     parent::__construct();
     $this->isHtmlMail = true;
 }
 public function initUserMailTemplateVariables(Gpf_Mail_Template $template) {
     $template->addVariable('affiliateIpCountryCode', $this->_("Ip - Country Code"));
     $template->addVariable('affiliateIpCountryName', $this->_("Ip - Country Name"));
     $template->addVariable('affiliateIpCity', $this->_("Ip - City"));
     $template->addVariable('affiliateIpLongitude', $this->_("Ip - Longitude"));
     $template->addVariable('affiliateIpLatitude', $this->_("Ip - Latitude"));
 }
 private function addTemplate(Gpf_Mail_Template $mailTemplate) {
 	$mailTemplate->setup(Gpf_Session::getAuthUser()->getAccountId());
 }
 protected function setupTemplate(Gpf_Mail_Template $template)
 {
     $template->setup($this->account->getId());
 }
 protected function setTimeVariableValues($timeOffset = 0)
 {
     parent::setTimeVariableValues($timeOffset);
     $this->setVariable('validUntil', Gpf_DbEngine_Database::getDateString(time() + Gpf_Db_Table_PasswordRequests::VALID_SECONDS + $timeOffset));
 }
Exemple #9
0
	public function initCampaignsVariable(Gpf_Mail_Template $mailTemplate) {
		$mailTemplate->addVariable('affiliatecampaigns', $this->_('Affiliate campaigns'));
	}
Exemple #10
0
 public function __construct() {
     parent::__construct();
     $this->isHtmlMail = false;
 }