コード例 #1
0
ファイル: m_useracl.php プロジェクト: ibnoe/perijinanbontang
 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';
 }