Skip to content

Kirby 6.0.0

$options->render()

Renders all options

$options->render(ModelWithContent $model, bool $safeMode = true): list

Parameters

Name Type Default Description
$modelrequired Kirby\Cms\ModelWithContent no default value
$safeMode bool true Whether to escape special HTML characters in the option text for safe output in the Panel; only set to false if the text is later escaped!

Return type

list<array>

Parent class

Kirby\Option\Options