public function after() { if ($this->has_controller_and_action()) { $this->_controller_base->after(); } else { parent::after(); } }
public function after() { View::set_global('model', $this->model); View::set_global('parent', $this->parent); View::set_global('parent_id', $this->parent_id); View::set_global('title', $this->title); View::set_global('belongs_to', $this->belongs_to); View::set_global('has_many', $this->has_many); View::set_global('labels', $this->labels); View::set_global('model_name', $this->model_name); View::set_global('image_fields', $this->image_fields); View::set_global('upload_fields', $this->upload_fields); View::set_global('boolean_fields', $this->boolean_fields); View::set_global('boolean_fields_labels', $this->boolean_fields_labels); View::set_global('ignore_actions', $this->ignore_actions); View::set_global('form_actions', $this->form_actions()); View::set_global('breadcrumb', $this->breadcrumb()); View::set_global('search_view', $this->search_view()); View::set_global('scripts', $this->scripts()); View::set_global('breadcrumbs', $this->breadcrumbs); View::set_global('actions', $this->actions); View::set_global('ignore_fields', $this->ignore_fields); View::set_global('can_export', $this->can_export); View::set_global('can_search', $this->can_search); View::set_global('bootstrap_css', $this->bootstrap_css); if ($this->parent) { View::set_global('parent_title', ucfirst($this->parent)); View::set_global('foreign_key', $this->parent); View::set_global('parent_model', $this->parent_model); } View::set_global('url', $this->url()); parent::after(); }
public function after() { parent::after(); }