function __construct() { parent::__construct(); $this->module=strtolower(get_class()); $this->load->model('Mtintuc'); $this->load->library('pagination'); }
function __construct() { parent::__construct(); $this->module=strtolower(get_class()); $this->load->model('Mgopy'); $this->load->library('session'); }
function __construct() { parent::__construct(); $this->module=strtolower(get_class()); $this->load->library('form_validation'); $this->load->library('email'); $this->load->library('session'); }
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'); }
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'); }
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()); }
function __construct() { parent::__construct(); $this->module=strtolower(get_class()); $this->load->model('Mapp'); }
function __construct() { parent::__construct(); }