app_module = 'evocode'; $this->app_tab = 'evocode'; $this->app_module_name = 'Evocode'; $this->app_page = 'options'; } public function index() { try { $record = Evocode_CustomizeParams::get(); if (!$record) throw new Phpr_ApplicationException('Configuration is not } catch (exception $ex) { $this->handlePageError($ex); } } protected function index_onSave() { $record = Evocode_CustomizeParams::get(); $this->edit_onSave($record->id); } protected function index_onCancel() { $record = Evocode_CustomizeParams::get(); $this->edit_onCancel($record->id); } public function formCreateModelObject() { var_dump("ok"); exit; $modelClass = $this->form_model_class; $controllerSetting = $this->setting_page; $obj = new $modelClass(); $this->set_action_class($obj); $obj->init_columns_info(); $obj->define_form_fields($this->formGetContext(), $controllerSetting); return $obj; } } ?>