Skip to content

Kirby 4.4.1

$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