Skip to content

Kirby 3.9.8

$optionsquery->resolve()

Creates the actual options by running the query on the model and resolving it to the correct text-value entries

$optionsquery->resolve(Kirby\Cms\ModelWithContent $model, bool $safeMode = true): Kirby\Option\Options

Parameters

Name Type Default Description
$model * Kirby\Cms\ModelWithContent
$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

Kirby\Option\Options

Parent class

Kirby\Option\OptionsQuery