function __construct() { parent::__construct(); $this->load->model('mdl_buku_besar', 'buku_besar'); $this->load->library('pdf'); $this->load->library('fungsi'); }
function __construct() { parent::__construct(); $this->load->model('gamem'); $this->load->model('articlem'); $this->load->model('typem'); }
function __construct() { parent::__construct(); $this->load->model('mdl_laporan_buku_kas', 'laporan_buku_kas'); $this->load->library('pdf'); $this->load->library('fungsi'); }
function __construct() { parent::__construct(); $this->load->model('mdl_keberangkatan', 'keberangkatan'); $this->load->model('mdl_calon_haji', 'calon_haji'); $this->load->library(array('fungsi', 'pquery')); }
function __construct() { parent::__construct(); $this->load->model('mdl_jurnal_koreksi', 'jurnal_koreksi'); $this->load->model('mdl_pengeluaran_kas', 'pengeluaran_kas'); $this->load->library(array('fungsi', 'pquery')); }
/** * 构造函数 * Enter description here ... */ public function __construct() { parent::__construct(); $this->load->model('AreaModel'); $this->load->library('Tree'); $this->load->library('Page'); }
function __construct() { parent::__construct(); $this->load->model('mdl_mutasi_kas', 'mutasi_kas'); $this->load->model('mdl_jurnal_umum', 'jurnal_umum'); $this->load->library(array('fungsi', 'pquery')); }
public function __construct() { parent::__construct(); $this->load->model('Dynasty_Model'); $this->load->model('Poetry_Model', '', true); $this->load->model('Author_Model', '', true); }
/** * 构造函数 * Enter description here ... */ public function __construct() { parent::__construct(); $this->load->model('UserModel'); $this->load->model('RoleModel'); $this->load->library('Page'); }
public function __construct() { parent::__construct(); $this->load->library('email_lib'); $this->load->helper(array('url', 'cookie')); $this->load->model('user_model'); }
function __construct() { parent::__construct(); // Load the user_login Class $this->load->library('simple_user_login'); $this->load->helper(array('form', 'html', 'url')); }
function __construct() { parent::__construct(); $this->load->model('mdl_pembatalan_sa', 'pembatalan_sa'); $this->load->model('mdl_calon_haji', 'calon_haji'); $this->load->library(array('fungsi', 'pquery')); }
/** * 构造函数 * Enter description here ... */ public function __construct() { parent::__construct(); $this->load->model('FamousModel'); $this->load->model('MemberModel'); $this->load->library('Page'); }
public function __construct() { parent::__construct(); $this->load->model('User_model'); $this->load->model('Logistics_model'); $this->db->cache_off(); }
public function __construct() { parent::__construct(); $this->load->model('Post'); $this->load->model('Category'); $this->load->model('Tag'); }
/** * Constructor * * @access public */ public function __construct() { parent::__construct(); $this->load->model('News_model', 'News_model', True); $this->load->model('Pagecat_model', 'Pagecat_model', True); $this->load->model('Newscats_model', 'Newscats_model', True); }
function __construct() { parent::__construct(); $this->load->model('mdl_trial_balance', 'trial_balance'); $this->load->library('pdf'); $this->load->library('fungsi'); }
function __construct() { parent::__construct(); //$this->load->model('mdl_master_akun', 'master_akun'); }
public function __construct() { parent::__construct(); $this->load->library('user_agent'); $this->load->model('Dynasty_Model'); $this->load->model('Poetry_Model', '', true); }
function __construct() { parent::__construct(); $this->load->model('mdl_jurnal_umum', 'jurnal_umum'); $this->load->model('mdl_master_akun', 'master_akun'); $this->load->library(array('fungsi', 'pquery')); }
public function __construct() { try { parent::__construct(); $this->data['title'] = "Menu Setting"; //Browser Title //Define Errors Here// $this->cls_msg = array(); $this->cls_msg["no_result"] = "No information found about news."; $this->cls_msg["save_err"] = "New main menu failed to add."; $this->cls_msg["save_err_blank"] = "Sorry ! Please provide data to required field."; $this->cls_msg["save_succ"] = "New main menu added successfully."; $this->cls_msg["save_succ_permit"] = "Menu permission set successfully."; $this->cls_msg["save_err_permit"] = "menu permission failed to set."; $this->cls_msg["delete_err"] = "Information about news failed to remove."; $this->cls_msg["delete_succ"] = "Information about news removed successfully."; $this->cls_msg["status_succ"] = "Status of news saved successfully."; $this->cls_msg["status_err"] = "Status of news failed to save."; //end Define Errors Here// $this->pathtoclass = admin_base_url() . $this->router->fetch_class() . "/"; //for redirecting from this class // loading default model here // $this->load->model("menu_model", "mod_menu"); // end loading default model here // } catch (Exception $err_obj) { show_error($err_obj->getMessage()); } }
function __construct() { parent::__construct(); $this->load->model('mdl_calon_haji', 'calon_haji'); $this->load->library(array('fungsi', 'pquery')); $this->load->library('pagination_custom'); }
function __construct() { parent::__construct(); $this->load->library('session'); $this->data = array(); $this->data['pagetitle'] = 'Portfolio'; }
function __construct() { parent::__construct(); if (!$this->_user_id) { redirect(); } //配置文件获取应用根目录 $this->base_url = $this->config->item("base_url"); //加载地区表Model $this->load->model('M_area'); //推荐会展 $this->load->model('recommond_model'); $recommond_exhibition = $this->recommond_model->recommond_exhibition(); if (!empty($recommond_exhibition)) { $this->_view_data['recommond_exhibition'] = $recommond_exhibition; } $this->load->model('user_model', 'main_model'); $this->_user = (array) $this->main_model->get_full_user_by_id($this->_user_id); $this->_view_data['arr_user'] = $this->_user; $path = @$this->_user['business_id']; if ($path) { $x_bu_data_top = $this->collection_model->get_business_class("hz_exhibition_class", "path like '%{$path}-%'")->result_array(); if (!empty($x_bu_data_top)) { $this->_view_data['x_bu_data_top'] = $x_bu_data_top; } } if (!empty($this->_user['nation'])) { //地区 start $this->_view_data['base_url'] = $this->base_url; $this->_view_data['beijing'] = $this->M_area->get('city', $this->_user['nation']); $this->_view_data['province'] = $this->M_area->get('province'); if (!empty($this->_user['province'])) { $this->_view_data['data_city'] = $this->M_area->get('town', $this->_user['province'])->result_array(); } //地区 end } else { //地区 start $this->_view_data['base_url'] = $this->base_url; //获取所有的省份信息 $this->_view_data['province'] = $this->M_area->get('province'); //获取北京所有的城市/地区信息,以便于初始化载入这些信息,北京的ID值为1 $this->_view_data['beijing'] = $this->M_area->get('city', 535); //地区 end } //user template start $this->load->model('template_setting_model'); $this->load->model('template_model'); $where_user_template = array('g_id' => $this->_user_id, 'type' => 1); $data_user_template = $this->template_setting_model->get_row_array($where_user_template); if (!empty($data_user_template)) { $where_find_template = array('id' => $data_user_template['t_id']); $data_find_template = $this->template_model->get_row_array($where_find_template); if (!empty($data_find_template)) { $data_user_template['css_file'] = $data_find_template['css_file']; } $this->_view_data['user_template'] = $data_user_template; } //user template end }
public function __construct() { parent::__construct(); $this->load->model('MarkManagerModel', 'MarkManager'); //导入对应的phpexcel库 $this->load->library('PHPExcel'); $this->load->library('PHPExcel/IOFactory'); }
function __construct() { parent::__construct(); $this->load->model('lecture/Lecture_model', 'lecture'); if (!$this->session->userdata('lecture')) { redirect(base_url() . 'lecture/login'); } }
/** * Constructor * * @access public */ public function __construct() { parent::__construct(); $this->load->model('Menu_link_model', 'Menu_link_model', True); $this->load->model('Page_model', 'Page_model', True); $this->load->model('Pagetype_model', 'Pagetype_model', True); $this->load->model('Pagecat_model', 'Pagecat_model', True); }
public function __construct() { parent::__construct(); //Access Control if (!$this->session->userdata('logged_in')) { redirect('admin/login'); } }
function __construct() { parent::__construct(); $this->load->model('Ingreso_model'); $this->load->model('Roles_model'); $this->data["usu_id"] = $this->session->userdata('usu_id'); validate_login($this->data["usu_id"]); }
function __construct() { parent::__construct(); $this->load->model('mdl_master_jurnal', 'master_jurnal'); $this->load->model('mdl_master_akun', 'master_akun'); $this->load->model('mdl_penerimaan_sa', 'penerimaan_sa'); $this->load->library(array('fungsi', 'pquery')); }