Exemplo n.º 1
0
 /**
  * Constructor
  */
 public function __construct()
 {
     parent::__construct();
     $this->load->model("Address_model", "address");
     $this->load->model("Contact_model", "contact");
     $this->load->model("Entity_tag_model", "entity_tag");
 }
Exemplo n.º 2
0
 public function __construct()
 {
     parent::__construct();
     $this->db = $this->load->database('default', TRUE);
     $this->tablename = "customers";
     $this->viewname = "view_customers";
 }
Exemplo n.º 3
0
 public function __construct()
 {
     parent::__construct();
     $this->_db_read = $this->load->database('default', TRUE);
     $this->_db_write = $this->load->database('gtwo', TRUE);
     $this->setTablePre();
 }
Exemplo n.º 4
0
 function __construct()
 {
     parent::__construct();
     // load custom config
     $this->events->add_action('after_app_init', array($this, 'before_session_starts'));
     $this->events->add_action('tendoo_settings_tables', array($this, 'set_tables'));
     $this->events->add_action('before_dashboard_menus', array($this, 'before_dashboard_menus'), 1);
 }
Exemplo n.º 5
0
 public function __construct()
 {
     parent::__construct();
     $this->init();
     $this->load->library('WxService');
     $this->load->model('bind_model', 'bind');
     $this->load->model('user_model', 'user');
 }
Exemplo n.º 6
0
 function __construct()
 {
     $this->version = '1.0';
     parent::__construct();
     if (!$this->__is_installed()) {
         $this->__install_tables();
     }
 }
Exemplo n.º 7
0
 function __construct()
 {
     parent::__construct();
     $this->cached = $this->config->item('cached');
     if ($this->cached) {
         $this->load->library('cache_util');
     }
 }
Exemplo n.º 8
0
 public function __construct()
 {
     parent::__construct();
     $this->load->model('keyword_model', 'keyword');
     $this->load->model('keyword_list_model', 'keyword_list');
     $this->load->model('material_model', 'material');
     $this->load->model('material_text_model', 'material_txt');
     $this->load->model('material_img_model', 'material_img');
 }
Exemplo n.º 9
0
 public function __construct()
 {
     parent::__construct();
     $this->load->database();
     $this->load->library('session');
     $this->load->library('encrypt');
     //$this->load->helper('url');
     $this->load->library('session');
 }
Exemplo n.º 10
0
 function __construct()
 {
     $this->version = '1.0';
     parent::__construct();
     $this->events->add_action('after_app_init', array($this, 'loader'));
     $this->events->add_action('tendoo_settings_tables', function () {
         Modules::enable('post_type');
     });
 }
Exemplo n.º 11
0
 /**
  * Class constructor
  *
  * @return	void
  */
 public function __construct()
 {
     parent::__construct();
     $this->load->helper('url');
     $this->load->helper('file');
     $this->load->model('Database');
     $this->DeleteOldSessions();
     $this->Database->AddUser();
     return;
 }
Exemplo n.º 12
0
 public function __contruct()
 {
     parent::__contruct();
     /*
     			$this->MaTuyen= $mc;
     $this->MaChuyen= $mt;
     $this->BienSo= $BienSo;
     $this->ThoiGianKhoiHanh= $thoigian;
     */
 }
Exemplo n.º 13
0
 public function __construct()
 {
     parent::__construct();
     if (empty($this->session->userdata['language'])) {
         $this->session->set_userdata('language', 'english');
     }
     $this->language = '_' . $this->session->userdata['language'];
     if ($this->session->userdata['language'] == 'english') {
         $this->language = '';
     }
 }
 public function __construct($direction = '', $question = '', $option_1 = '', $option_2 = '', $option_3 = '', $option_4 = '', $option_5 = '', $cr_option = 99)
 {
     parent::__construct();
     $this->direction = $direction;
     $this->question = $question;
     $this->option_1 = $option_1;
     $this->option_2 = $option_2;
     $this->option_3 = $option_3;
     $this->option_4 = $option_4;
     $this->option_5 = $option_5;
     $this->cr_option = $cr_option;
 }
Exemplo n.º 15
0
 function __construct()
 {
     parent::__construct();
     $this->events->add_action('do_register_user', array($this, 'register_user'));
     $this->events->add_action('do_send_recovery', array($this, 'change_auth_settings'));
     $this->events->add_action('do_send_recovery', array($this, 'recovery_email'));
     $this->events->add_action('do_login', array($this, 'tendoo_login'));
     $this->events->add_action('do_reset_user', array($this, 'do_reset_user'));
     $this->events->add_action('do_verify_user', array($this, 'do_verify_user'));
     $this->events->add_action('do_remove_module', array($this, 'module_access'), 1, 1);
     $this->events->add_action('do_disable_module', array($this, 'module_access'), 1, 1);
     $this->events->add_action('do_enable_module', array($this, 'module_access'), 1, 1);
 }
 function __construct()
 {
     parent::__construct();
     $this->tableName = "content";
     $this->caption = "content";
     $this->controllerName = "addstories";
     $this->recordsPerPage = 25;
     $this->add = true;
     $this->update = true;
     $this->view = true;
     $this->printView = true;
     $this->delete = true;
     $this->allowQuickSearch = true;
 }
Exemplo n.º 17
0
 function __construct()
 {
     parent::__construct();
     // Load Model if tendoo is installed
     if ($this->setup->is_installed()) {
         $this->load->model('users_model', 'users');
     }
     // Events
     // change send administrator emails
     $this->events->add_action('after_app_init', array($this, 'after_session_starts'));
     $this->events->add_action('is_connected', array($this, 'is_connected'));
     $this->events->add_action('log_user_out', array($this, 'log_user_out'));
     $this->events->add_filter('user_id', array($this, 'user_id'));
     // Tendoo Setup
 }
Exemplo n.º 18
0
 function __construct()
 {
     $this->load->database();
     parent::__construct();
 }
Exemplo n.º 19
0
 function __construct()
 {
     parent::__construct();
     date_default_timezone_set('America/Los_Angeles');
 }
Exemplo n.º 20
0
 /**
  * Constructor
  *
  * @uses 	get_settings
  * @return 	void
  */
 function __construct()
 {
     parent::__construct();
     $this->load->database();
     log_message('debug', 'Sub Category Model Initialized');
 }
Exemplo n.º 21
0
 public function __contruct()
 {
     parent::__contruct();
     $this->load->model('ghe_model');
 }
Exemplo n.º 22
0
 /**
  * Constructor
  *
  * @uses 	get_settings
  * @return 	void
  */
 function __construct()
 {
     parent::__construct();
     $this->load->database();
     log_message('debug', 'download link Model Initialized');
 }
Exemplo n.º 23
0
 public function __construct()
 {
     parent::__construct();
     // $this->output->enable_profiler();
     // $this->session->sess_destroy();
 }
Exemplo n.º 24
0
 public function __construct()
 {
     parent::__construct();
     $this->load->library('encrypt');
 }
Exemplo n.º 25
0
 function __construct()
 {
     parent::__construct();
     //call the model contructor
 }
Exemplo n.º 26
0
 function mdl_set()
 {
     parent::__construct();
     $this->load_config();
 }
Exemplo n.º 27
0
 public function __construct()
 {
     parent::__construct();
 }
Exemplo n.º 28
0
 function __construct()
 {
     parent::__construct();
     date_default_timezone_set('Asia/Jakarta');
 }
Exemplo n.º 29
0
 public function __construct()
 {
     parent::__construct();
     $this->load->database();
 }
Exemplo n.º 30
0
 public function __construct()
 {
     parent::__construct();
     $this->db = $this->load->database('default', TRUE);
 }