class Group implements GroupInterface (View source)

Properties

protected string $name

The group name.

protected FieldInterface[] $fields

The fields in this group.

Methods

string
getName()

Get the group name.

setName(string $name)

Set the group name.

getFields()

Get the fields belonging to this group.

setFields(FieldInterface[] $fields)

Set the fields belonging to this group.

addField(FieldInterface $field)

Add a field to this group.

Details

string getName()

Get the group name.

Return Value

string

See also

GroupInterface::getName

setName(string $name)

Set the group name.

Parameters

string $name

FieldInterface[] getFields()

Get the fields belonging to this group.

setFields(FieldInterface[] $fields)

Set the fields belonging to this group.

Parameters

FieldInterface[] $fields

addField(FieldInterface $field)

Add a field to this group.

Parameters

FieldInterface $field