Fieldgroup::get()

Get a Fieldgroup property or a Field.

It is preferable to use Fieldgroup::getField() 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

NameType(s)Description
$keystring 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