Hi everyone

i am trying to use Doctrine 2 with zend 2 and want to add a pagination 
module. the pagination will have to take into account the fetching of a lot 
of collections.  

I understand that the basic Doctrine 2 Pagination is not sufficient for 
this purpose and that two alternative modules were recommended. 
A: Pagerfanta <https://github.com/whiteoctober/pagerfanta>
B: DoctrineExtensions <https://github.com/beberlei/DoctrineExtensions>

However, i seem to have problems with both modules. 

I tried to upload the Pagerfanta when i got the following error message: 

Uncaught exception 'Zend\ModuleManager\Exception\RuntimeException' with 
message 'Module (Pagerfanta) could not be initialized.

I also looked at the *DoctrineExtensions *but 
*its no longer being maintained and also, there are no clear instruction on 
how to use it. For example, its say; to include the doctirne extention do 
this: *

*$classLoader = new \Doctrine\Common\ClassLoader('DoctrineExtensions', 
"/path/to/extensions");
$classLoader->register**();*

but i am unclear where i will do this.

i would really appreciate some advise regarding pagination for Doctrine2 and 
Zend 2

warm regards 

Paul 



 

-- 
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