Ingo_Perms
in package
Permission handling for Ingo.
Tags
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
Return values
mixed —perms()
public
perms() : mixed