Skip to content

LostKobrakai/Paginator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Paginator Build Status

Paginate items from multiple sources. This is mostly meant to allow for multiple selectors to be paginated in processwire, but feel free to repurpose it to other use-cases.

include 'src/Paginator.php';
include 'src/PagesPaginator.php';

$paginator = new PagesPaginator();

$result = $paginator(array(
	'template=basic-page',
	'template=post'
), $input->pageNum, 15);

Disclaimer

Only the TestPaginator implementation is currently tested :)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published