本文整理汇总了PHP中Frontend_Controller类的典型用法代码示例。如果您正苦于以下问题:PHP Frontend_Controller类的具体用法?PHP Frontend_Controller怎么用?PHP Frontend_Controller使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
在下文中一共展示了Frontend_Controller类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的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
示例16: __construct
public function __construct()
{
parent::__construct();
// Load classes
$this->load->model('page/page_model', 'page');
$this->load->model('page/page_translations_model', 'page_translations');
$this->load->model('route/route_model', 'route');
$this->load->library('NuBloxDecoder', 'NuBloxDecoder');
}
开发者ID:nugato,项目名称:nuCMS,代码行数:9,代码来源:Page.php
示例17: __construct
public function __construct()
{
parent::__construct();
$this->load->library('grocery_CRUD');
$this->upload_path = './assets/uploads/' . 'hotels';
$this->wrapper = 'gc_admin_wrapper';
$this->load->model('generic_model');
$this->load->helper('email');
}
开发者ID:beingjungshahi,项目名称:theexcursionnepal,代码行数:9,代码来源:bookings.php
示例18: __construct
public function __construct()
{
parent::__construct();
if (!$this->ion_auth->logged_in()) {
redirect();
}
$this->load->model('messages_m', 'msg');
$this->template->set_layout(get_layout(__CLASS__));
}
开发者ID:karlomikus,项目名称:CometCI,代码行数:9,代码来源:messages.php
示例19: __construct
public function __construct()
{
parent::__construct();
$this->load->library('ion_auth');
$this->ion_auth->logged_in();
//is_already_logged_in();
$this->header['page_name'] = $this->router->fetch_class();
$this->load->model('payment_model', 'service');
}
开发者ID:beingjungshahi,项目名称:theexcursionnepal,代码行数:9,代码来源:paypal.php
示例20: __construct
public function __construct()
{
parent::__construct();
$this->load->helper('inflector');
$this->load->library('form_builder');
$this->mTitle = humanize($this->mAction);
$this->_push_breadcrumb('Example');
$this->_push_breadcrumb($this->mTitle);
}
开发者ID:wisutsak,项目名称:ci_bootstrap_3,代码行数:9,代码来源:Example.php
注:本文中的Frontend_Controller类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论