Skip to content

Kirby 5.5.3

new Option()

new Option(string|int|float|null $value, bool $disabled = false, string|null $icon = null, array|string|null $info = null, array|string|null $text = null, bool $resolve = true)

Parameters

Name Type Default Description
$value stringorintorfloatornull no default value
$disabled bool false
$icon stringornull null
$info arrayorstringornull null
$text arrayorstringornull null
$resolve bool true Deprecated, will be removed in v6

Parent class

Kirby\Option\Option