/** * Constructor */ public function __construct() { parent::__construct(); $this->set_action_performer(new TDL_Actions_Performer()); $tpl = FWS_Props::get()->tpl(); $locale = FWS_Props::get()->locale(); $tpl->set_path('theme/templates/'); $tpl->set_cache_folder(FWS_Path::server_app() . 'cache/'); // add the home-breadcrumb $this->add_breadcrumb($locale->_('TodoList'), TDL_URL::get_mod_url('view_entries')->to_url()); $this->_action_perf->set_prefix('TDL_Action_'); $a = new TDL_Actions_ChangeSelProject(TDL_ACTION_CHANGE_SEL_PROJECT); $this->_action_perf->add_action($a); }
/** * Constructor */ public function __construct() { parent::__construct(); $ap = $this->get_action_performer(); $ap->set_prefix('PC_Action_'); $ap->set_mod_folder('module/'); $tpl = FWS_Props::get()->tpl(); $tpl->set_path('templates/'); $tpl->set_cache_folder(FWS_Path::server_app() . 'cache/'); // add the home-breadcrumb $url = new FWS_URL(); $url->set('action', 'home'); $this->add_breadcrumb('PHP-Check', $url->to_url()); }