Merge pull request #3118 from phillprice/patch-1

Update pagination.md
This commit is contained in:
Ingo Schommer 2014-05-09 09:09:42 +12:00
commit c647c97fe4

View File

@ -87,7 +87,7 @@ To set the limit of items displayed in a paginated page use the `[api:PaginatedL
public function PaginatedPagesLimit() { public function PaginatedPagesLimit() {
$paginatedItems = new PaginatedList(Page::get(), $this->request); $paginatedItems = new PaginatedList(Page::get(), $this->request);
$paginatedItems->setPageLength(4); $paginatedItems->setPageLength(4);
return $pagination; return $paginatedItems;
} }
## Related ## Related