Hi  Parsifal

sorry for the delay in responding, the google groups is not working well 
(or i dont know how to use it)

yes. i did indeed install ZF2. i am running all 3 togehtre 

use Zend\Paginator\Paginator;
DoctrineORMModule\Paginator\Adapter\DoctrinePaginator;
use Doctrine\ORM\Tools\Pagination\Paginator as ORMPaginator;


 $paginator = new Paginator(new DoctrinePaginator(new ORMPaginator( $qb   
)));

the outter call is Zend
the next is the DoctrinePaginator
and the final one is  Doctrine\ORM\Tools\Pagination\Paginator






On Monday, January 12, 2015 at 8:35:54 PM UTC, Parsifal wrote:
>
> I think you should first run getArrayResult or getResult then pass th 
> result to paginator instead of passing createQuery object to paginator.
>  

-- 
You received this message because you are subscribed to the Google Groups 
"doctrine-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/doctrine-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to