\Ingo_Perms

Permission handling for Ingo.

Summary

Methods
Properties
Constants
__construct()
perms()
hasPermission()
getPerm()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$_perms
N/A

Properties

$_perms

$_perms : array

Permission list.

Type

array

Methods

__construct()

__construct() 

Constructor.

perms()

perms() 

hasPermission()

hasPermission(  $permission,   $allowed,   $opts) 

Parameters

$permission
$allowed
$opts

getPerm()

getPerm(string  $perm) : string

Get the full permission name for a permission.

Parameters

string $perm

The permission.

Returns

string —

The full (backend-specific) permission name.