There's an array adapter for the paginator:

$paginator = new Zend_Paginator(new
Zend_Paginator_Adapter_Array($rowsetArray));
- or -
$paginator = Zend_Paginator::factory($rowsetArray);

Where $rowset's the db query result (or any other source).

On Fri, Jul 8, 2011 at 4:02 PM, saiman <[email protected]> wrote:

> Hello,
> Is there any way using Zend pagiantor with raw SQL query, not using
> Zend_Db_Select or Zend_Db_Table_Select. Sometimes I prefer not using
> those (Zend_Db_*) if query is more complex for example and will be great
> if there is such a options for the paginator.
>
> Regards,
> S.
>
>
>
> --
> List: [email protected]
> Info: http://framework.zend.com/archives
> Unsubscribe: [email protected]
>
>
>

Reply via email to