Skip to content

Kirby 4.2.0

$model->view()

$model->view(string $name): Kirby\Api\Model

Parameters

Name Type Default
$name * string

Return type

Kirby\Api\Model

This method does not modify the existing $model object but returns a new object with the changes applied. Learn more →

Exceptions

Type Description
Exception

Parent class

Kirby\Api\Model