コード例 #1
0
ファイル: Core.php プロジェクト: AmineCherrai/rostanvo
 /**
  *
  * @return Gpf_Install_CreateAccountTask
  */
 public function getCreateTask()
 {
     $task = new Gpf_Install_CreateAccountTask();
     $task->setAccount($this);
     return $task;
 }
コード例 #2
0
    protected function createMailTemplates() {
        parent::createMailTemplates();

        $this->setupTemplate(new Pap_Mail_NewUserSignupBeforeApproval());
        $this->setupTemplate(new Pap_Mail_NewUserSignupApproved());
        $this->setupTemplate(new Pap_Mail_NewUserSignupDeclined());
        $this->setupTemplate(new Pap_Mail_MerchantNewUserSignup());
        $this->setupTemplate(new Pap_Mail_MerchantOnSale());
        $this->setupTemplate(new Pap_Mail_MerchantOnContactUs());
        $this->setupTemplate(new Pap_Mail_OnPayout());
        $this->setupTemplate(new Pap_Mail_OnVATPayout());
        $this->setupTemplate(new Pap_Mail_AffiliateChangeCommissionStatus());
        $this->setupTemplate(new Pap_Mail_AffiliateOnNewSale());
        $this->setupTemplate(new Pap_Mail_OnSubAffiliateSignup());
        $this->setupTemplate(new Pap_Mail_OnSubAffiliateSale());
        $this->setupTemplate(new Pap_Mail_OnAffiliateJoinToCampaign());
        $this->setupTemplate(new Pap_Mail_OnMerchantApproveAffiliateToCampaign());
        $this->setupTemplate(new Pap_Mail_OnMerchantDeclineAffiliateForCampaign());
        $this->setupTemplate(new Pap_Mail_MerchantOnCommissionApproved());
        $this->setupTemplate(new Pap_Mail_AffiliateDirectLinkNotification());
        $this->setupTemplate(new Pap_Mail_MerchantNewDirectLinkNotification());
        $this->setupTemplate(new Pap_Mail_InviteToCampaign());
        $this->setupTemplate(new Pap_Mail_Reports_DailyReport());
        $this->setupTemplate(new Pap_Mail_Reports_WeeklyReport());
        $this->setupTemplate(new Pap_Mail_Reports_MonthlyReport());
        $this->setupTemplate(new Pap_Mail_Reports_AffDailyReport());
        $this->setupTemplate(new Pap_Mail_Reports_AffWeeklyReport());
        $this->setupTemplate(new Pap_Mail_Reports_AffMonthlyReport());
        $this->setupTemplate(new Pap_Mail_MerchantInvoice());
        $this->setupTemplate(new Pap_Mail_AffiliateInvoice());
        $this->setupTemplate(new Pap_Mail_PayDayReminder_PayDayReminder());
    }
コード例 #3
0
 public function execute() {
     $createAccountTask = new Gpf_Install_CreateAccountTask();
     $createAccountTask->addRecurrencePreset('varied', Gpf_Lang::_runtime("Varied"));
 }