Pages::getLastPage()
Version 4.1
Return last page from collection.
Version 4.1
Return last page from collection.
Return the last page from collection. If collection is empty, return empty page.
Object Page
Get last page from the collection.
$Project = $Projects->getLastPage();
Get last task of the project -page.
$Project = $Project->tasks->getLastPage();