本文整理汇总了PHP中Frontend_Controller::__construct方法的典型用法代码示例。如果您正苦于以下问题:PHP Frontend_Controller::__construct方法的具体用法?PHP Frontend_Controller::__construct怎么用?PHP Frontend_Controller::__construct使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Frontend_Controller
的用法示例。
在下文中一共展示了Frontend_Controller::__construct方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: strtolower
function __construct()
{
parent::__construct();
$this->load->model('spletka_m');
$this->data['meta_title'] = 'Sodelovanje';
$this->data['controller'] = strtolower(get_class());
}
示例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__));
}
示例3: __construct
public function __construct()
{
parent::__construct();
$this->load->model('packages_m');
$this->basePath = base_url('packages');
$this->load->library('ion_auth');
}
示例4: __construct
public function __construct()
{
parent::__construct();
$this->lang->load('user');
$this->load->model('users_m');
$this->user = $this->session->userdata('user');
}
示例5: __construct
public function __construct()
{
parent::__construct();
if ($this->session->userId) {
redirect('admin/dashboard');
}
}
示例6: __construct
public function __construct()
{
parent::__construct();
// Load classes
$this->load->model('pages/pages_model', 'pages');
$this->load->model('routes/routes_model', 'routes');
}
示例7: __construct
public function __construct()
{
parent::__construct();
$this->load->model('m_page');
$this->load->model('m_promo');
$this->load->model('m_news');
}
示例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');
}
示例9:
function __construct()
{
parent::__construct();
$this->load->library("pagination");
if ($this->uri->segment(3) != NULL) {
$uriii = $this->uri->segment(3);
}
}
示例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");
}
示例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');
}
示例12: __construct
public function __construct()
{
parent::__construct();
if ($this->user_m->loggedin() == FALSE) {
redirect('admin/user/login');
}
$this->load->model('product_m');
}
示例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');
}
示例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);
}
示例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');
}