$fieldgroups→getFieldNames()
Get all field names used by given fieldgroup
Use this when you want to identify the field names (or IDs) without loading the fieldgroup or fields in it.
Available since version 3.0.194.
Usage
$array = $fieldgroups->getFieldNames($fieldgroup);Arguments
| Name | Type(s) | Description |
|---|---|---|
$fieldgroup | string int Fieldgroup | Fieldgroup name, ID or object |
Return value
arrayReturned array of field names indexed by field ID
$fieldgroups methods and properties
API reference based on ProcessWire core version 3.0.253