Skip to content

Kirby 5.0.4

$page->representation()

$page->representation(mixed $type): Kirby\Template\Template

Parameters

Name Type Default
$typerequired mixed no default value

Return type

Kirby\Template\Template

This method modifies the existing $page object it is applied to and returns it again.

Exceptions

Type Description
Kirby\Exception\NotFoundException If the content representation cannot be found

Parent class

Kirby\Cms\Page