Skip to content

adrienbrault/pagerfanta-iterator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This allows to easily traverse all the pages of a pagerfanta instance:

$pager->setMaxPerPage(10);

foreach (PagerfantaIterator::iterateOverPages($pager) as $page => $pageResults) {

}

This allows to easily traverse all the elements of all the pages:

$pager->setMaxPerPage(10);

foreach (PagerfantaIterator::iterateOverElements($pager) as $index => $element) {

}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages