Pages::getFirstPage()

Version 4

Return first page from collection.

Return value

Object Page

Arguments

Get first page in collection. If collection is empty, return empty page.

Example

Get first page in the collection.

$Page = $Pages->getFirstPage();

Full documentation

Get first task of the project -page.

$Project->tasks->getFirstPage();