SelectableOptionManager::findOptionsByProperty()

Perform a partial match on title of options

Usage

$items = $selectableOptionManager->findOptionsByProperty(Field $field, string $property, string $operator, string $value);

Arguments

NameType(s)Description
$fieldField
$propertystring

Either 'title' or 'value'. May also be blank (to imply 'either') if operator is '=' or '!='

$operatorstring
$valuestring

Value to find

Return value


SelectableOptionManager methods and properties

API reference based on ProcessWire core version 3.0.251