示例#1
0
 public function __construct()
 {
     parent::__construct();
     $this->tables = $this->config->item('tables_admins', 'ion_auth');
     $this->columns = $this->config->item('columns_admins', 'ion_auth');
     $this->_extra_where = array('user_type' => 'admin');
     $this->_extra_set = array('user_type' => 'admin');
 }
 function __construct()
 {
     parent::__construct();
     $this->load->database();
     $this->lang->load('ion_auth_acl');
     $this->load->config('ion_auth_acl', TRUE);
     // initialize additional db tables data
     $this->tables = array_merge($this->tables, $this->config->item('tables', 'ion_auth_acl'));
     // initialize additional db join data
     $this->join = array_merge($this->join, $this->config->item('join', 'ion_auth_acl'));
 }
 public function __construct()
 {
     parent::__construct();
 }
 function __construct()
 {
     parent::__construct();
     $this->db = new Nyankod\JsonFileDB(SITE_PATH . 'db/');
 }
示例#5
0
 public function __construct()
 {
     parent::__construct();
     $this->tables = $this->config->item('tables_users', 'ion_auth');
 }
 public function __construct()
 {
     parent::__construct();
     $this->load->config('ion_auth', TRUE);
     $this->lang->load('ion_auth');
 }