class Manager extends Manager (View source)

Properties

protected GroupInterface[] $groups

The groups of fields.

from  Manager
protected ExpressCategory $expressCategory
protected $loaded

Methods

getGroups()

Get the groups of fields.

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

Add a group of fields.

from  Manager
getGroupByName(string $name)

Get a fields group by name.

from  Manager
addGroupObject(GroupInterface $group)

Add a field group.

from  Manager
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

from  Manager
setExpressCategory(ExpressCategory $expressCategory)

No description

populateGroups()

No description

Details

GroupInterface[] getGroups()

Get the groups of fields.

Return Value

GroupInterface[]

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

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[]

protected populateAttributeGroups(SetManagerInterface $setManager)

No description

Parameters

SetManagerInterface $setManager

setExpressCategory(ExpressCategory $expressCategory)

No description

Parameters

ExpressCategory $expressCategory

protected populateGroups()

No description