Documentation

Ingo_Perms
in package

Permission handling for Ingo.

Tags
author

Michael Slusarz slusarz@horde.org

category

Horde

copyright

2014-2017 Horde LLC

license

http://www.horde.org/licenses/apache ASL

Table of Contents

$_perms  : array<string|int, mixed>
Permission list.
__construct()  : mixed
Constructor.
getPerm()  : string
Get the full permission name for a permission.
hasPermission()  : mixed
perms()  : mixed

Properties

$_perms

Permission list.

private array<string|int, mixed> $_perms

Methods

__construct()

Constructor.

public __construct() : mixed
Return values
mixed

getPerm()

Get the full permission name for a permission.

public static getPerm(string $perm) : string
Parameters
$perm : string

The permission.

Return values
string

The full (backend-specific) permission name.

hasPermission()

public hasPermission(mixed $permission, mixed $allowed, mixed $opts) : mixed
Parameters
$permission : mixed
$allowed : mixed
$opts : mixed
Tags
see

Horde_Registry_Application#hasPermission()

Return values
mixed

perms()

public perms() : mixed
Tags
see

Horde_Registry_Application#perms()

Return values
mixed

Search results