Advertisement
kurniaif

model

Dec 16th, 2017
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.65 KB | None | 0 0
  1. function get_limit_data($limit, $start = 0, $q = NULL) {
  2. $this->db->order_by($this->id, $this->order);
  3. $this->db->like('Id', $q);
  4. $this->db->or_like('nkkm', $q);
  5. $this->db->or_like('nikm', $q);
  6. $this->db->or_like('namam', $q);
  7. $this->db->or_like('jklkm', $q);
  8. $this->db->or_like('umurkm', $q);
  9. $this->db->or_like('pkjaan', $q);
  10. $this->db->or_like('wktum', $q);
  11. $this->db->or_like('sbbm', $q);
  12. $this->db->or_like('tmptm', $q);
  13. $this->db->or_like('blokm', $q);
  14. $this->db->or_like('rtm', $q);
  15. $this->db->or_like('rwm', $q);
  16. $this->db->limit($limit, $start);
  17. return $this->db->get($this->table)->result();
  18. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement