protected function loadSetting() { parent::loadSetting(); $this->addSetting(Pap_Settings::AFFILIATE_LOGOUT_URL); $this->addSetting(Pap_Settings::AFFILIATE_AFTER_LOGIN_SCREEN); $this->addSetting(Pap_Settings::AFFILIATE_AFTER_LOGIN_SCREEN_MAXIMIZE); $this->addSetting(Pap_Settings::SUPPORT_VAT_SETTING_NAME); $this->addValue('signupSubaffiliatesLink', Pap_Affiliates_Promo_SignupForm::getSignupScriptUrl()); $this->addValue('signupPageUrl', Gpf_Paths::getAffiliateSignupUrl()); $this->addSetting(Pap_Settings::AFF_NOTIFICATION_ON_NEW_SALE_ENABLED_SETTING_NAME); $this->addSetting(Pap_Settings::AFF_NOTIFICATION_ON_CHANGE_COMMISSION_STATUS_ENABLED_SETTING_NAME); $this->addSetting(Pap_Settings::AFF_NOTIFICATION_ON_SUBAFF_SIGNUP_ENABLED_SETTING_NAME); $this->addSetting(Pap_Settings::AFF_NOTIFICATION_ON_SUBAFF_SALE_ENABLED_SETTING_NAME); $this->addSetting(Pap_Settings::AFF_NOTIFICATION_ON_DIRECT_LINK_ENABLED); $this->addSetting(Pap_Settings::AFF_NOTIFICATION_DAILY_REPORT_ENABLED); $this->addSetting(Pap_Settings::AFF_NOTIFICATION_WEEKLY_REPORT_ENABLED); $this->addSetting(Pap_Settings::NOTIFICATION_WEEKLY_REPORT_SENT_ON); $this->addSetting(Pap_Settings::NOTIFICATION_WEEKLY_REPORT_START_DAY); $this->addSetting(Pap_Settings::AFF_NOTIFICATION_MONTHLY_REPORT_ENABLED); $this->addSetting(Pap_Settings::NOTIFICATION_MONTHLY_REPORT_SENT_ON); $this->addSetting(Pap_Settings::AFFILIATE_CANNOT_CHANGE_HIS_USERNAME); $this->addSetting(Pap_Settings::MAIL_TO_FRIEND_ALLOW_TO_USE_SYSTEM_EMAIL); }
protected function loadSetting() { parent::loadSetting(); $this->addSetting(Pap_Settings::POST_SIGNUP_TYPE_SETTING_NAME); $this->addSetting(Pap_Settings::POST_SIGNUP_URL_SETTING_NAME); $this->addValue(Pap_Settings::SIGNUP_TERMS_SETTING_NAME, Gpf_Lang::_localizeRuntime(Gpf_Settings::get(Pap_Settings::SIGNUP_TERMS_SETTING_NAME))); $this->addSetting(Pap_Settings::INCLUDE_PAYOUT_OPTIONS); $this->addSetting(Pap_Settings::PAYOUT_OPTIONS); $this->addSetting(Pap_Settings::FORCE_PAYOUT_OPTION); $this->addSetting(Pap_Settings::FORCE_TERMS_ACCEPTANCE_SETTING_NAME); $this->addSetting(Pap_Settings::DEFAULT_PAYOUT_METHOD); $this->loadParentFromRequest(); $this->addDefaultCountry(); }
protected function loadSetting() { parent::loadSetting(); $this->addValue("merchantName", Gpf_Session::getAuthUser()->getFirstName().' '.Gpf_Session::getAuthUser()->getLastName()); $this->addSetting(Pap_Settings::DEFAULT_AFFILIATE_PANEL_THEME); $this->addSetting(Pap_Settings::DEFAULT_AFFILIATE_SIGNUP_THEME); $this->addSetting(Pap_Settings::DEFAULT_MERCHANT_PANEL_THEME); $this->addSetting(Pap_Settings::FORCE_TERMS_ACCEPTANCE_SETTING_NAME); $this->addSetting(Pap_Settings::GETTING_STARTED_SHOW); $this->addSetting(Pap_Settings::SUPPORT_VAT_SETTING_NAME); $this->addValue("variationName", Gpf_Settings::get(Gpf_Settings_Gpf::VARIATION)); $this->addValue('accountid', Gpf_Session::getAuthUser()->getAccountId()); }