Permission
in package
Resource Group handles querying and formatting group representations
Table of Contents
- $_corePerms : mixed
- $_groupRepo : mixed
- $_perms : mixed
- __construct() : mixed
- export() : mixed
- import() : mixed
- Import a single permission
- _exportGroupPermissions() : array<string|int, mixed>
- _importGroupPermissions() : mixed
Properties
$_corePerms
private
mixed
$_corePerms
$_groupRepo
private
mixed
$_groupRepo
$_perms
private
mixed
$_perms
Methods
__construct()
public
__construct(Horde_Perms_Base $perms, Horde_Core_Perms $corePerms, Group $group) : mixed
Parameters
- $perms : Horde_Perms_Base
- $corePerms : Horde_Core_Perms
- $group : Group
Return values
mixed —export()
public
export() : mixed
Return values
mixed —import()
Import a single permission
public
import(array<string|int, mixed> $item) : mixed
This will overwrite the permission with the definition from yaml.
Parameters
- $item : array<string|int, mixed>
Return values
mixed —_exportGroupPermissions()
protected
_exportGroupPermissions(mixed $permission) : array<string|int, mixed>
Parameters
- $permission : mixed
Return values
array<string|int, mixed> —_importGroupPermissions()
private
_importGroupPermissions(array<string|int, mixed> $groupPerms) : mixed
Parameters
- $groupPerms : array<string|int, mixed>