Changeset 337 for pro-violet-viettel/sourcecode/application
- Timestamp:
- Oct 30, 2014 10:16:51 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pro-violet-viettel/sourcecode/application/core/MY_Model.php
r327 r337 1 <?php (defined('BASEPATH')) OR exit('No direct script access allowed');1 <?php (defined('BASEPATH')) OR exit('No direct script access allowed'); 2 2 3 3 class MY_model extends CI_Model … … 37 37 } 38 38 } 39 40 function get_list() 41 { 42 $query = $this->db->get($this->table_name); 43 return $query->result(); 44 } 39 45 }
Note: See TracChangeset
for help on using the changeset viewer.