當前位置: 首頁>>代碼示例>>PHP>>正文


PHP Frontend_Controller類代碼示例

本文整理匯總了PHP中Frontend_Controller的典型用法代碼示例。如果您正苦於以下問題:PHP Frontend_Controller類的具體用法?PHP Frontend_Controller怎麽用?PHP Frontend_Controller使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。


在下文中一共展示了Frontend_Controller類的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。

示例1: strtolower

 function __construct()
 {
     parent::__construct();
     $this->load->model('spletka_m');
     $this->data['meta_title'] = 'Sodelovanje';
     $this->data['controller'] = strtolower(get_class());
 }
開發者ID:kamenjan,項目名稱:spletka,代碼行數:7,代碼來源:cooperation.php

示例2: __construct

 public function __construct()
 {
     parent::__construct();
     $this->load->library('form_validation');
     $this->redirect_to = $this->agent->referrer();
     $this->template->set_layout(get_layout(__CLASS__));
 }
開發者ID:karlomikus,項目名稱:CometCI,代碼行數:7,代碼來源:users.php

示例3: __construct

 public function __construct()
 {
     parent::__construct();
     $this->load->model('packages_m');
     $this->basePath = base_url('packages');
     $this->load->library('ion_auth');
 }
開發者ID:beingjungshahi,項目名稱:theexcursionnepal,代碼行數:7,代碼來源:packages.php

示例4: __construct

 public function __construct()
 {
     parent::__construct();
     $this->lang->load('user');
     $this->load->model('users_m');
     $this->user = $this->session->userdata('user');
 }
開發者ID:Nnamso,項目名稱:tbox,代碼行數:7,代碼來源:user.php

示例5: __construct

 public function __construct()
 {
     parent::__construct();
     if ($this->session->userId) {
         redirect('admin/dashboard');
     }
 }
開發者ID:santhapa,項目名稱:ci-mag-cms,代碼行數:7,代碼來源:AuthController.php

示例6: __construct

 public function __construct()
 {
     parent::__construct();
     // Load classes
     $this->load->model('pages/pages_model', 'pages');
     $this->load->model('routes/routes_model', 'routes');
 }
開發者ID:kams90,項目名稱:fitCMS,代碼行數:7,代碼來源:Pages.php

示例7: __construct

 public function __construct()
 {
     parent::__construct();
     $this->load->model('m_page');
     $this->load->model('m_promo');
     $this->load->model('m_news');
 }
開發者ID:fathan,項目名稱:CI-Hotel,代碼行數:7,代碼來源:pages.php

示例8: __construct

 public function __construct()
 {
     parent::__construct();
     $this->load->helper(array('form', 'url'));
     $this->load->library(array('session', 'form_validation', 'email'));
     $this->load->database();
     $this->load->model('user_model');
 }
開發者ID:jobmassaro,項目名稱:oltremare_mvc,代碼行數:8,代碼來源:welcome.php

示例9:

 function __construct()
 {
     parent::__construct();
     $this->load->library("pagination");
     if ($this->uri->segment(3) != NULL) {
         $uriii = $this->uri->segment(3);
     }
 }
開發者ID:jhnrustan,項目名稱:shopback,代碼行數:8,代碼來源:home.php

示例10: __construct

 public function __construct()
 {
     parent::__construct();
     $this->load->model('hotels_m');
     $this->basePath = base_url('hotels');
     $this->load->library('ion_auth');
     $this->load->library("mypaypal");
 }
開發者ID:beingjungshahi,項目名稱:theexcursionnepal,代碼行數:8,代碼來源:_book.php

示例11: __construct

 public function __construct()
 {
     parent::__construct();
     $this->load->model('hotels_m');
     $this->load->model('facebook/facebook_m', 'facebook_m');
     $this->basePath = base_url('hotels');
     $this->load->library('ion_auth');
 }
開發者ID:beingjungshahi,項目名稱:theexcursionnepal,代碼行數:8,代碼來源:hotels.php

示例12: __construct

 public function __construct()
 {
     parent::__construct();
     if ($this->user_m->loggedin() == FALSE) {
         redirect('admin/user/login');
     }
     $this->load->model('product_m');
 }
開發者ID:ankibalyan,項目名稱:levoyagers,代碼行數:8,代碼來源:shop.php

示例13: __construct

 public function __construct()
 {
     parent::__construct();
     $this->load->model('invoice_m');
     //        $this->basePath = base_url('hotels');
     $this->load->library('ion_auth');
     $this->load->model('hotels/hotels_m');
 }
開發者ID:beingjungshahi,項目名稱:theexcursionnepal,代碼行數:8,代碼來源:invoice.php

示例14: __construct

 public function __construct()
 {
     parent::__construct();
     $this->load->helper('inflector');
     $this->load->model('user_model', 'users');
     $this->mTitle = humanize($this->mAction);
     $this->_push_breadcrumb('Account');
     $this->_push_breadcrumb($this->mTitle);
 }
開發者ID:wisutsak,項目名稱:ci_bootstrap_3,代碼行數:9,代碼來源:Account.php

示例15: __construct

 public function __construct()
 {
     parent::__construct();
     $this->load->model('teacher_m');
     $this->load->model('profile_m');
     $this->load->model('familybg_m');
     $this->load->model('personalinfo_m');
     $this->load->model('pds');
 }
開發者ID:renztoygwapo,項目名稱:ces,代碼行數:9,代碼來源:upload_pic.php


注:本文中的Frontend_Controller類示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。