$fields→getAllIds()
Get all field IDs indexed by name
Available since version 3.0.258.
Usage
$array = $fields->getAllIds();Return value
array int []
$fields methods and properties
API reference based on ProcessWire core version 3.0.257