Esempio n. 1
0
		function __construct()
		{
			parent::__construct();
			$this->module=strtolower(get_class());
			$this->load->model('Mtintuc');
			$this->load->library('pagination');
		}
Esempio n. 2
0
		function __construct()
		{
			parent::__construct();
			$this->module=strtolower(get_class());
			$this->load->model('Mgopy');
			$this->load->library('session');
		}
Esempio n. 3
0
		function __construct()
		{
			parent::__construct();
			$this->module=strtolower(get_class());
			$this->load->library('form_validation');
			$this->load->library('email');
			$this->load->library('session');
		}
Esempio n. 4
0
		function __construct()
		{
			parent::__construct();
			$this->module=strtolower(get_class());
			$this->load->model('Mdiemthi');
			$this->load->library('pagination');
			$this->load->library('session');
			$this->load->helper('url');
		}
Esempio n. 5
0
		function __construct()
		{
			parent::__construct();
			$this->module=strtolower(get_class());
			$this->load->model('Mhoidap');
			$this->load->library('session');
			$this->load->library('pagination');
			$this->load->library('email');
			$this->load->library('parser');
			
		}
Esempio n. 6
0
 function __construct()
 {
     parent::__construct();
     // load the validation library
     //$this->load->library('form_validation');
     // get config
     // get index path name from preference
     // this can be done in shop_controller since it is needed for menu path
     //$this->index_path = $this->preference->item('main_index_path_name');
     $this->index_path = $this->mainmodule;//default is welcome
     // get module name
     // this will be used in refidrect or $data['module']
     //$this->module = basename(dirname(dirname(__FILE__))); // this is the same as getting class name
     // this will return the grandparent dir name.
     // or you can get this class name as well.
     $this->module               = strtolower(get_class());
     $this->security_method      = $this->preference->item('security_method');
     $this->security_question    = $this->preference->item('security_question');
     $this->security_answer      = $this->preference->item('security_answer');
     //$this->myclass = strtolower(get_class());
 }
Esempio n. 7
0
		function __construct()
		{
			parent::__construct();
			$this->module=strtolower(get_class());
			$this->load->model('Mapp');
		}
Esempio n. 8
0
		function __construct()
		{
			parent::__construct();
		}