Skip to content

Kirby 5.0.4

$model->view()

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

Parameters

Name Type Default
$namerequired string no default value

Return type

Kirby\Api\Model

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

Exceptions

Type Description
Exception

Parent class

Kirby\Api\Model