Fieldgroup::hasField()

Does this fieldgroup have the given field?

Usage

$bool = $fieldgroup->hasField($key);

Arguments

NameType(s)Description
$keystring int Field

Field object, name or id.

Return value

bool

True if this Fieldgroup has the field, false if not.


Fieldgroup methods and properties

API reference based on ProcessWire core version 3.0.252