FieldtypeOptions::getOptions()

Get all options available for the given field

Usage

$items = $fieldtypeOptions->getOptions($field);

Arguments

NameType(s)Description
$fieldint 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.253