SelectableOptionManager::findOptionsByProperty()
Perform a partial match on title of options
Usage
$items = $selectableOptionManager->findOptionsByProperty(Field $field, string $property, string $operator, string $value);
Arguments
Name | Type(s) | Description |
---|---|---|
$field | Field | |
$property | string | Either 'title' or 'value'. May also be blank (to imply 'either') if operator is '=' or '!=' |
$operator | string | |
$value | string | Value to find |
Return value
SelectableOptionManager methods and properties
API reference based on ProcessWire core version 3.0.251