Advertisement
Guest User

Api_m

a guest
Mar 26th, 2019
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.32 KB | None | 0 0
  1. <?php
  2. defined('BASEPATH') OR exit('No direct script access allowed');
  3.  
  4. class Api_m extends CI_Model {
  5.     public function api_monitoring(){
  6.         $this->db->order_by('pin', 'DESC');
  7.         $result = $this->db->get('monitoring');
  8.         return $result;
  9.     }
  10. }
  11.  
  12. /* End of file api_m.php */
  13. /* Location: ./application/models/api_m.php */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement