Skip to content

Kirby 6.0.0

$hasStringTemplate->model()

Returns the parent model the template is resolved against

$hasStringTemplate->model(): ModelWithContent|null

Return types

Kirby\Cms\ModelWithContentornull

Parent class

Kirby\Cms\HasStringTemplate