Fieldgroup::get()
Get a Fieldgroup property or a Field.
It is preferable to use Fieldgroup
to retrieve fields from the Fieldgroup because the scope of this get()
method means it can return more than just Field object.
Usage
$field = $fieldgroup->get($key);
Arguments
Name | Type(s) | Description |
---|---|---|
$key | string int | Property name to retrieve, or Field name |
Return value
Field
string
int
null
array
Fieldgroup methods and properties
API reference based on ProcessWire core version 3.0.251