problem zend pagination

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

problem zend pagination

sina miandashti
hi

i get some stuff from db by this code :
$tickets = $user->findDependentRowset('Tickets')->toArray();

how can i make a pagination with zend_paginator
for that?


--
________________
Sincerely
Sina Miandashti
MuSicBasE.ir & InvisionPower.ir Admin
Reply | Threaded
Open this post in threaded view
|

Re: problem zend pagination

SpiffyJr

On Sun, 20 Sep 2009 15:24:42 +0430, sina miandashti <[hidden email]>
wrote:
> hi
>
> i get some stuff from db by this code :
> $tickets = $user->findDependentRowset('Tickets')->toArray();
>
> how can i make a pagination with zend_paginator
> for that?

The documentation has everything you need to know. See:
http://framework.zend.com/manual/en/zend.paginator.html
Kyle S
blogs @ www.spiffyjr.me
github @ www.github.com/spiffyjr
follow @ www.twitter.com/spiffyjr