Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class My_Reservation_Repository {
- /***/
- public function getReservationsReportWithPagination(Zend_Pagination $pagination) {
- // retrieve the results from the database table(s)
- // with Zend_Paginator_Adapter_DbSelect
- $paginator->setAdapter($adapter);
- // return the paginator
- return $paginator;
- }
- }
Add Comment
Please, Sign In to add comment