Access
Table of Contents
Methods
- install() : string
- installDefaultRoles() : string
- Installing special roles for module `Sign` from updater
Methods
install()
public
static install([string $name = self::DEFAULT_ROLE_NAME ][, array<string|int, mixed> $permissionSet = [] ][, string $code = '' ][, int|null $relationGroupId = null ]) : string
Parameters
- $name : string = self::DEFAULT_ROLE_NAME
- $permissionSet : array<string|int, mixed> = []
- $code : string = ''
- $relationGroupId : int|null = null
Return values
stringinstallDefaultRoles()
Installing special roles for module `Sign` from updater
public
static installDefaultRoles([bool $removeAllPrevious = false ]) : string
Parameters
- $removeAllPrevious : bool = false