phpDocumentor

AccessGroupWriteService implements AccessGroupWriteService

Class AccessGroupWriteService

Interfaces, Classes and Traits

AccessGroupWriteService
Interface AccessGroupWriteService

Table of Contents

$factory  : AccessGroupFactory
$repository  : AccessGroupRepository
__construct()  : mixed
GroupService constructor.
createAccessGroup()  : AccessGroup
Creates a new access group based on the provided names, descriptions, sort order and protection status.
deleteAccessGroups()  : void
Deletes all access groups based on the provided group IDs.
storeAccessGroups()  : AccessGroupIds
Stores (updates) all provided access groups and returns their group IDs.

Properties

Methods

createAccessGroup()

Creates a new access group based on the provided names, descriptions, sort order and protection status.

public createAccessGroup(array<string|int, mixed> $names, array<string|int, mixed> $descriptions, int $sortOrder[, bool $isProtected = false ][, int|null $parentGroupId = null ]) : AccessGroup
Parameters
$names : array<string|int, mixed>
$descriptions : array<string|int, mixed>
$sortOrder : int
$isProtected : bool = false
$parentGroupId : int|null = null

Provide null, if there is no parent group.

Tags
inheritDoc
Return values
AccessGroup

deleteAccessGroups()

Deletes all access groups based on the provided group IDs.

public deleteAccessGroups(int ...$groupIds) : void
Parameters
$groupIds : int
Tags
inheritDoc
Return values
void

Search results