class Manager extends Manager (View source)

Properties

protected GroupInterface[] $groups

The groups of fields.

from  Manager
protected $fileCategory

Methods

getGroups()

Get the groups of fields.

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

from  Manager
getFieldsFromRequest(array $request)

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

from  Manager
populateAttributeGroups(SetManagerInterface $setManager)

No description

from  Manager
__construct(FileCategory $fileCategory)

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

__construct(FileCategory $fileCategory)

No description

Parameters

FileCategory $fileCategory