public function after($response) { if (empty($response) or !$response instanceof Response) { $response = \Response::forge(\Theme::instance()->render()); } return parent::after($response); }
/** * before * * @access public * @author Nguyen Van Hiep * * @version 1.0 * @since 1.0 */ public function before() { parent::before(); $this->lang = Session::get('active_lang'); $this->template = \View::forge('customer/template_detail'); $this->template->cats = Model_Categories::get_cats_home($this->lang); $this->template->pepper_arts = Model_Article::pepper_artilces($this->lang); }
public function before() { parent::before(); $installation_status = Kohana::$config->load('app.installation_status'); if ($installation_status != INSTALLED) { $this->redirect('/install'); } }
public function before() { parent::before(); $this->_search = $this->request->post('search'); $this->_ids = $this->request->post('ids'); if (!empty($this->_ids)) { $this->_ids = explode(',', $this->_ids); } $this->_user = Auth::instance()->get_user(); }
public function before() { parent::before(); $this->theme->active('system'); $this->theme->set_template('index'); }
public function before() { parent::before(); $this->title[] = 'Отчеты'; }
public function before() { parent::before(); $this->title[] = 'Сообщения'; }
public function before() { parent::before(); $this->title[] = 'Клиент'; }
public function before() { parent::before(); $this->title[] = 'Новости'; }
public function before() { parent::before(); $this->title[] = 'Управление'; }
/** * before * * @access public * @author Dao Anh Minh * * @version 1.0 * @since 1.0 */ public function before() { parent::before(); $this->lang = Session::get('active_lang'); $this->template = \View::forge('customer/template_detail'); }
public function before() { parent::before(); $this->no_layout(); $this->no_view(); }
public function before() { parent::before(); $this->title[] = 'Поддержка'; }
/** * before * * @access public * @author Nguyen Van Hiep * * @version 1.0 * @since 1.0 */ public function before() { parent::before(); $this->lang = Session::get('active_lang'); }
public function before() { parent::before(); $this->title[] = 'Список клиентов'; }