本文整理汇总了PHP中CI_controller类的典型用法代码示例。如果您正苦于以下问题:PHP CI_controller类的具体用法?PHP CI_controller怎么用?PHP CI_controller使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
在下文中一共展示了CI_controller类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: __construct
public function __construct()
{
parent::__construct();
$this->load->model('news_model');
$this->load->helper('url_helper');
//var_dump($this->config);
}
示例2: __construct
/**
* Class constructor
*
* @return void
*/
public function __construct()
{
parent::__construct();
// load models
$this->load->model('Html');
$this->load->model('Session');
}
示例3: __construct
public function __construct()
{
parent::__construct();
$this->load->model("Empleados_model");
$this->load->model("Departamentos_model");
$this->load->library('form_validation');
}
示例4:
function __construct()
{
parent::__construct();
$this->load->helper('form');
$this->load->library('form_validation');
$this->load->library('session');
}
示例5: __construct
public function __construct()
{
parent::__construct();
is_installed();
#defined in auth helper
remove_featured_if_expired();
$this->PER_PAGE = get_per_page_value();
#defined in auth helper
$this->active_theme = get_active_theme();
$this->load->model('show_model');
$this->load->model('user/user_model');
$this->load->library('encrypt');
$this->load->helper('text');
$this->output->enable_profiler($this->config->item('debug_site'));
if (isset($_POST['view_orderby'])) {
$this->session->set_userdata('view_orderby', $this->input->post('view_orderby'));
}
if (isset($_POST['view_ordertype'])) {
$this->session->set_userdata('view_ordertype', $this->input->post('view_ordertype'));
}
$system_currency_type = get_settings('realestate_settings', 'system_currency_type', 0);
if ($system_currency_type == 0) {
$system_currency = get_currency_icon(get_settings('realestate_settings', 'system_currency', 'USD'));
} else {
$system_currency = get_settings('realestate_settings', 'system_currency', 'USD');
}
$this->session->set_userdata('system_currency', $system_currency);
$this->form_validation->set_error_delimiters('<div class="alert alert-danger">', '</div>');
}
示例6:
function __construct()
{
parent::__construct();
$this->load->model('database');
$this->load->helper('url');
$this->load->library('tank_auth');
}
示例7: __construct
public function __construct()
{
parent::__construct();
is_installed();
#defined in auth helper
$this->active_theme = get_active_theme();
}
示例8: __construct
public function __construct()
{
parent::__construct();
$this->load->helper('url');
$this->load->database();
$this->load->model('Opleiding_model');
}
示例9: __construct
public function __construct()
{
parent::__construct();
$this->load->model('Candidatos_model');
$this->load->library('form_validation');
$this->load->helper('text');
}
示例10:
function __construct()
{
parent::__construct();
$this->load->model('serverP_model', '', TRUE);
$this->load->library("nuSoap_lib");
$this->nusoap_server = new soap_server();
$this->nusoap_server->configureWSDL("urn:servidor");
}
示例11: __construct
public function __construct()
{
parent::__construct();
$login = $this->session->userdata('is_login');
if (!isset($login) || $login == "") {
redirect("");
}
}
示例12: __construct
public function __construct()
{
parent::__construct();
$this->load->model('schedule_model');
$this->load->model('duty_model');
$this->load->model(array('twilio_model', 'sysconf_model'));
$this->load->helper('site_helper');
}
示例13: __construct
public function __construct()
{
parent::__construct();
$this->load->model('payment_model');
$this->load->model('users_model');
$this->load->library('session');
$this->load->helper('cookie');
}
示例14: __construct
public function __construct()
{
parent::__construct();
$this->load->model("Solicitudes_model");
$this->load->model("Maquinas_model");
$this->load->model("Empleados_model");
$this->load->library('form_validation');
$this->load->library('pdf');
}
示例15:
function __construct()
{
parent::__construct();
/* Standard Libraries */
$this->load->database();
$this->load->dbutil();
$this->load->helper('download');
/* ------------------ */
}