$api->page()
Returns the page object for the given id
Parameters
Name | Type | Default | Description |
---|---|---|---|
$id * | string |
– | Page's id |
Return type
Kirby\Cms\Page
|null
Exceptions
Type | Description |
---|---|
Kirby\Exception\NotFoundException |
if the page cannot be found |