class Manager implements ManagerInterface (View source)

Properties

protected GroupInterface[] $groups

The groups of fields.

Methods

getGroups()

Get the groups of fields.

addGroup(string $name, FieldInterface[] $fields = [])

Add a group of fields.

getGroupByName(string $name)

Get a fields group by name.

addGroupObject(GroupInterface $group)

Add a field group.

getFieldByKey(string $key)

Search a field across all the groups.

getFieldsFromRequest(array $request)

Get the list of fields whose keys are in the 'field' of an array, and initialize the fields with the data.

populateAttributeGroups(SetManagerInterface $setManager)

No description

Details

GroupInterface[] getGroups()

Get the groups of fields.

addGroup(string $name, FieldInterface[] $fields = [])

Add a group of fields.

Parameters

string $name

the group name

FieldInterface[] $fields

GroupInterface|null getGroupByName(string $name)

Get a fields group by name.

Parameters

string $name

Return Value

GroupInterface|null

See also

ManagerInterface::getGroupByName

addGroupObject(GroupInterface $group)

Add a field group.

Parameters

GroupInterface $group

FieldInterface|null getFieldByKey(string $key)

Search a field across all the groups.

Parameters

string $key

The field key

Return Value

FieldInterface|null

See also

ManagerInterface::getFieldByKey

FieldInterface[] getFieldsFromRequest(array $request)

Get the list of fields whose keys are in the 'field' of an array, and initialize the fields with the data.

Parameters

array $request

Return Value

FieldInterface[]

See also

ManagerInterface::getFieldsFromRequest

protected populateAttributeGroups(SetManagerInterface $setManager)

No description

Parameters

SetManagerInterface $setManager