$fieldgroupsgetFieldNames()

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

NameType(s)Description
$fieldgroupstring int Fieldgroup

Fieldgroup name, ID or object

Return value

array

Returned array of field names indexed by field ID


$fieldgroups methods and properties

API reference based on ProcessWire core version 3.0.252