Ignore:
Timestamp:
Oct 30, 2014 10:16:51 AM (11 years ago)
Author:
namnd
Message:
 
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');
    22
    33class MY_model extends CI_Model
     
    3737                }
    3838        }
     39       
     40        function get_list()
     41        {
     42                $query = $this->db->get($this->table_name);
     43                return $query->result();
     44        }
    3945}
Note: See TracChangeset for help on using the changeset viewer.