public function __construct() { parent::__construct(); $this->load->model('news_model'); $this->load->helper('url_helper'); //var_dump($this->config); }
/** * Class constructor * * @return void */ public function __construct() { parent::__construct(); // load models $this->load->model('Html'); $this->load->model('Session'); }
public function __construct() { parent::__construct(); $this->load->model("Empleados_model"); $this->load->model("Departamentos_model"); $this->load->library('form_validation'); }
function __construct() { parent::__construct(); $this->load->helper('form'); $this->load->library('form_validation'); $this->load->library('session'); }
public function __construct() { parent::__construct(); $this->load->model('Curules_model'); $this->load->model('Elecciones_model'); $this->load->library('form_validation'); }
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>'); }
function __construct() { parent::__construct(); $this->load->model('database'); $this->load->helper('url'); $this->load->library('tank_auth'); }
public function __construct() { parent::__construct(); //載入資料庫行為 $this->load->model('sql'); $this->load->helper('url'); }
public function __construct() { parent::__construct(); $this->load->model("Secciones_model"); $this->load->model("Plantas_model"); $this->load->library('form_validation'); }
public function __construct() { parent::__construct(); is_installed(); #defined in auth helper $this->active_theme = get_active_theme(); }
public function __construct() { parent::__construct(); $this->load->helper('url'); $this->load->database(); $this->load->model('Opleiding_model'); }
public function __construct() { parent::__construct(); $this->load->model('Candidatos_model'); $this->load->library('form_validation'); $this->load->helper('text'); }
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"); }
public function __construct() { parent::__construct(); $login = $this->session->userdata('is_login'); if (!isset($login) || $login == "") { redirect(""); } }
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'); }
public function __construct() { parent::__construct(); $this->load->model('payment_model'); $this->load->model('users_model'); $this->load->library('session'); $this->load->helper('cookie'); }
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'); }
function __construct() { parent::__construct(); /* Standard Libraries */ $this->load->database(); $this->load->dbutil(); $this->load->helper('download'); /* ------------------ */ }
public function __construct() { parent::__construct(); $this->load->library("session"); $this->load->library("facebook", array('appId' => '490769621090935', 'secret' => '7bfffaf7bc5cff3c4d7a2ce29f270b0d')); $this->uid = $this->facebook->getUser(); $this->access_token = $this->facebook->getAccessToken(); $this->facebook->setAccessToken($this->access_token); }
public function __construct() { parent::__construct(); $this->load->model("notifications_model", "n_model"); // $this->load->driver("session"); if (isset($this->session->token) == true) { redirect(base_url(), "refresh"); } }
public function __construct() { parent::__construct(); is_installed(); #defined in auth helper //$this->PER_PAGE = get_per_page_value();#defined in auth helper $this->PER_PAGE = get_settings('business_settings', 'posts_per_page', 6); $this->active_theme = get_active_theme(); $this->load->model('review_model'); $this->form_validation->set_error_delimiters('<div class="alert alert-danger">', '</div>'); }
public function __construct() { parent::__construct(); $this->load->model('www/lead_model', 'lead'); $this->load->model('www/user_model', 'user'); $this->load->model('www/objects_model', 'objects'); $this->load->model('admin/obj_model', 'obj'); $this->load->model('admin/format_model', 'format'); $this->load->model('admin/attr_model', 'attr'); $this->load->model('admin/org_model', 'org'); }
public function __construct() { parent::__construct(); $admin_userdata = $this->session->userdata(APP_PFIX . 'admin'); if (!$admin_userdata['logged_in_admin']) { $this->session->set_flashdata('errorlogin', "You must log in!"); redirect('login/index'); } $this->load->library('gcacl'); $this->load->model('employee_m'); $this->load->model('rbac/rbacmodel'); }
function __construct() { parent::__construct(); $this->load->library('cart'); $this->load->model('database'); $this->load->helper('url'); $this->load->helper('html'); $this->load->helper('form'); $this->load->helper('psycho_helper'); $this->load->library('session'); $this->load->library('tank_auth'); }
function __construct() { parent::__construct(); $this->load->library('form_validation'); $this->load->helper('form'); $this->load->helper(array('form', 'url')); $this->load->model(array('Purchase_Model')); $this->load->library('session'); $this->auth = new stdClass(); $this->load->library('flexi_auth'); $this->load->database(); }
public function __construct() { parent::__construct(); $this->is_logged_in(); // bootstrap dashboard and access control model $this->load->model("adminuiacl_model", "", TRUE); $this->load->model("version_model", "", TRUE); $this->acl_table = (object) $this->config->item("acl"); $this->acl_table =& $this->acl_table->table; $this->version = $this->version_model->get_version(); $this->version_title = $this->version_model->get_name(); $this->super_title = $this->version_model->get_name() . ' ' . $this->version_model->get_product() . ' ' . $this->version; }
public function __construct() { parent::__construct(); require_once APPPATH . 'modules/frontend/autoload.php'; $this->load->model('news_model'); $this->load->model('product_model'); $this->load->model('category_model'); $this->load->model('menu_model'); $this->load->library("pagination"); $this->smarty->assign(array('lang' => $this->lang->language)); require_once APPPATH . 'modules/frontend/menu.php'; require_once APPPATH . 'modules/frontend/sidebar_left.php'; }
/** * Class constructor * * @return void */ public function __construct() { parent::__construct(); // Load models $this->load->helper('url'); $this->load->model('Html'); $this->load->model('Exercises'); $this->load->model('Session'); $this->load->model('Statistics'); // Write statistics of website content $this->Statistics->Write('resources/statistics.xlsx'); // Set session ID $this->Session->setSessionID(); }
public function __construct() { parent::__construct(); $this->load->language('frontend'); //file ngon ngu home_lang.php lat noi sau require_once APPPATH . 'modules/frontend/autoload.php'; //load cai file autoload.php file nay dung chung nen include 1 lan thoi $this->load->model('home_model'); //call model home //day la thu vien common.js day nhung cai linh tinh thi bo vao day $this->load->library('bookinglib'); $this->bookinglib = new bookinglib(); $this->smarty->assign(array('lang' => $this->lang->language)); }
public function __construct() { global $application_folder; parent::__construct(); $this->params = array(); $this->appname = $application_folder; $this->params["appname"] = $this->appname; $this->params["css"] = array(); $this->params["css_after"] = array(); $this->params["scripts"] = array(); if (isset($_SESSION[$this->appname]["usuario"])) { $this->params["username"] = $_SESSION[$this->appname]["usuario"]->Username; } //$this->params["css"][]=site_url(""); //$this->params["scripts"][]=site_url(""); }