예제 #1
0
 function __construct()
 {
     parent::__construct();
     $this->table_name = 'useracl';
     $this->column_primary = 'id';
     $this->column_order = '';
     $this->column_unique = '';
 }
예제 #2
0
 function __construct()
 {
     parent::__construct();
     $this->table_name = 'groupmenu';
     $this->column_primary = 'id';
     $this->column_order = 'id ASC';
     $this->column_unique = '';
 }
예제 #3
0
 function __construct()
 {
     parent::__construct();
     $this->table_name = 't_simb_ceklist';
     $this->column_primary = 'simb_cek_id';
     $this->column_order = '';
     $this->column_unique = '';
 }
예제 #4
0
파일: user_model.php 프로젝트: ram-1501/rs
 function listing()
 {
     $this->_fields = " *,IF(is_blocked='1','Inactive','Active') as status";
     //from
     $this->db->from($this->_table);
     //joins
     //where
     foreach ($this->criteria as $key => $value) {
         if (!is_array($value) && strcmp($value, '') === 0) {
             continue;
         }
         switch ($key) {
             case 'user_name':
                 $this->db->like($key, $value);
                 break;
         }
     }
     return parent::listing();
 }
예제 #5
0
파일: role_model.php 프로젝트: ram-1501/rs
 function listing()
 {
     $this->_fields = " *";
     //from
     $this->db->from($this->_table);
     //joins
     //where
     foreach ($this->criteria as $key => $value) {
         if (!is_array($value) && strcmp($value, '') === 0) {
             continue;
         }
         switch ($key) {
             case 'name':
                 $this->db->like($key, $value);
                 break;
         }
     }
     return parent::listing();
 }
예제 #6
0
파일: car_model.php 프로젝트: ram-1501/rs
 function __construct()
 {
     parent::__construct();
     $this->_table = 'cars';
 }