Advertisement
Guest User

Untitled

a guest
Feb 24th, 2013
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Perl 0.26 KB | None | 0 0
  1.     public function index($query)
  2.     {
  3.         $records = $this->model->getAll(isset($query['page']) ? $query['page'] : 1, 50);
  4.         return array(
  5.             'records' => $records,
  6.             'paginator'     => $this->model->getPaginator(),
  7.         );
  8.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement