Get all options available for the given field
Usage
$items = $fieldtypeOptions->getOptions($field);
Arguments
Name | Type(s) | Description |
---|---|---|
field | int, string, Field | Field name, id or object |
Return value
Exceptions
Method can throw exceptions on error:
WireException
FieldtypeOptions methods and properties
API reference based on ProcessWire core version 3.0.236