コード例 #1
0
ファイル: contact.php プロジェクト: ksakuntanak/buffohero_cms
 public function after($response)
 {
     if (empty($response) or !$response instanceof Response) {
         $response = \Response::forge(\Theme::instance()->render());
     }
     return parent::after($response);
 }
コード例 #2
0
ファイル: category.php プロジェクト: aminh047/pepperyou
 /**
  * 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);
 }
コード例 #3
0
ファイル: -checkinstall.php プロジェクト: g-a-g/its2015
 public function before()
 {
     parent::before();
     $installation_status = Kohana::$config->load('app.installation_status');
     if ($installation_status != INSTALLED) {
         $this->redirect('/install');
     }
 }
コード例 #4
0
ファイル: Help.php プロジェクト: paShaman/Scala
 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();
 }
コード例 #5
0
ファイル: index.php プロジェクト: khoapossible/vision_system
 public function before()
 {
     parent::before();
     $this->theme->active('system');
     $this->theme->set_template('index');
 }
コード例 #6
0
ファイル: Reports.php プロジェクト: paShaman/Scala
 public function before()
 {
     parent::before();
     $this->title[] = 'Отчеты';
 }
コード例 #7
0
ファイル: Messages.php プロジェクト: paShaman/Scala
 public function before()
 {
     parent::before();
     $this->title[] = 'Сообщения';
 }
コード例 #8
0
ファイル: Managers.php プロジェクト: paShaman/Scala
 public function before()
 {
     parent::before();
     $this->title[] = 'Клиент';
 }
コード例 #9
0
ファイル: News.php プロジェクト: paShaman/Scala
 public function before()
 {
     parent::before();
     $this->title[] = 'Новости';
 }
コード例 #10
0
ファイル: Control.php プロジェクト: paShaman/Scala
 public function before()
 {
     parent::before();
     $this->title[] = 'Управление';
 }
コード例 #11
0
ファイル: article.php プロジェクト: aminh047/pepperyou
 /**
  * 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');
 }
コード例 #12
0
ファイル: index.php プロジェクト: khoapossible/vision_system
 public function before()
 {
     parent::before();
     $this->no_layout();
     $this->no_view();
 }
コード例 #13
0
ファイル: Support.php プロジェクト: paShaman/Scala
 public function before()
 {
     parent::before();
     $this->title[] = 'Поддержка';
 }
コード例 #14
0
ファイル: home.php プロジェクト: aminh047/pepperyou
 /**
  * before
  *
  * @access public
  * @author Nguyen Van Hiep
  *
  * @version 1.0
  * @since 1.0
  */
 public function before()
 {
     parent::before();
     $this->lang = Session::get('active_lang');
 }
コード例 #15
0
ファイル: Clients.php プロジェクト: paShaman/Scala
 public function before()
 {
     parent::before();
     $this->title[] = 'Список клиентов';
 }