Hi everyone 

I am trying to integrate a Pagination module for my Doctrine2/ Zend 2 
project; the pagination need to take into account the fetching of lots of 
collections, so the default Doctrine 2 pagination is not sufficient. 

Doctrine recommended 2 pagination extenstion modules; 

·         A: Pagerfanta <https://github.com/whiteoctober/pagerfanta>

·         B: DoctrineExtensions<https://github.com/beberlei/DoctrineExtensions>

I tried the pagerfanta module but ran into problems; I got the following 
error message when I tried to use it;  

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

I also looked at the DoctrineExtension but I have two problems here; 

The module is no longer being maintained 

Aslo, there are no clear instruction on how to integrate it. For example, 
the wiki page says; 

To include the DoctrineExtensions should fire up an autoloader, for example:

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

$classLoader->register();

i would really appreciate some advice on what i should do or on which 
pagination module i can use for my project. 

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