PHP Class Ingo_Perms, horde

Author: Michael Slusarz ([email protected])
Mostrar archivo Open project: horde/horde Class Usage Examples

Public Methods

Method Description
__construct ( ) Constructor.
getPerm ( string $perm ) : string Get the full permission name for a permission.
hasPermission ( $permission, $allowed, $opts )
perms ( )

Method Details

__construct() public method

Constructor.
public __construct ( )

getPerm() public static method

Get the full permission name for a permission.
public static getPerm ( string $perm ) : string
$perm string The permission.
return string The full (backend-specific) permission name.

hasPermission() public method

public hasPermission ( $permission, $allowed, $opts )

perms() public method

public perms ( )