Get option by ID
Available since version 3.0.242.
Usage
$selectableOption = $selectableOptionArray->getByID(int $id);
Arguments
Name | Type(s) | Description |
---|---|---|
id | int |
Return value
SelectableOption
null
SelectableOptionArray methods and properties
API reference based on ProcessWire core version 3.0.244