protected function assignTemplateVariables($template) { parent::assignTemplateVariables($template); Pap_Module::assignTemplateVariables($template); }
public function assignModuleAttributes(Gpf_Templates_Template $template) { parent::assignModuleAttributes($template); Pap_Module::assignTemplateVariables($template); if (Gpf_Session::getAuthUser()->isLogged()) { $template->assignAttributes(Gpf_Session::getAuthUser()->getUserData()); } $template->assign(Pap_Settings::PROGRAM_NAME, $this->_localize(Gpf_Settings::get(Pap_Settings::PROGRAM_NAME))); $template->assign(Pap_Settings::PROGRAM_LOGO, Gpf_Settings::get(Pap_Settings::PROGRAM_LOGO)); Gpf_Plugins_Engine::extensionPoint('Pap_Affiliate.assignTemplateVariables', $template); }
public function assignModuleAttributes(Gpf_Templates_Template $template) { parent::assignModuleAttributes($template); Pap_Module::assignTemplateVariables($template); $template->assign(Pap_Settings::PROGRAM_LOGO, Gpf_Settings::get(Pap_Settings::PROGRAM_LOGO)); }