Class AdminAccessGroupManager
category |
System |
---|---|
package |
AdminAccess |
subpackage |
Managers |
__construct(\AdminAccessGroupFactoryInterface $groupFactory, \AdminAccessGroupReaderInterface $groupReader)
addItemToGroup(\IdType $groupId, \NonEmptyStringType $identifier, \NonEmptyStringType $type) : \AdminAccessGroupInterface
createNewGroup(\KeyValueCollection $name, \KeyValueCollection $description, \IdType $parentId, \IntType $sortOrder) : \AdminAccessGroupInterface
Throws |
|
---|
\KeyValueCollection
Collection with the group names. Index of a group name must be his language code.
\KeyValueCollection
Collection with the group descriptions. Index of a group name must be his language code.
\AdminAccessGroupInterface
Returns the create role.
deleteGroupById(\IdType $id) : \AdminAccessGroupManager
Throws |
|
---|
\AdminAccessGroupManager
Returns same instance for chained method calls.
getAllGroups() : \AdminAccessGroupCollection
getGroupByAjaxHandler(\NonEmptyStringType $identifier) : \AdminAccessGroupInterface
getGroupByController(\NonEmptyStringType $identifier) : \AdminAccessGroupInterface
getGroupById(\IdType $id) : \AdminAccessGroupInterface
getGroupByPage(\NonEmptyStringType $identifier) : \AdminAccessGroupInterface
removeItemFromGroup(\IdType $groupId, \NonEmptyStringType $identifier, \NonEmptyStringType $type) : \AdminAccessGroupInterface
Throws |
|
---|
\AdminAccessGroupInterface
Group object.
updateGroup(\IdType $id, \KeyValueCollection $newName, \KeyValueCollection $newDescription, \IdType $newParentId, \IntType $newSortOrder) : \AdminAccessGroupManager
Throws |
|
---|
\IdType
\KeyValueCollection
Collection with the group names. Index of a group name must be his language code.
\KeyValueCollection
Collection with the group descriptions. Index of a group name must be his language code.
\AdminAccessGroupManager
Returns same instance for chained method calls.
groupFactory : \AdminAccessGroupFactoryInterface
groupReader : \AdminAccessGroupReaderInterface