Class Horde_Perms_Null
Horde_Perms_Null
Copyright 2011-2012 Horde LLC (http://www.horde.org/)
See the enclosed file COPYING for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.
- Horde_Perms_Base
- Horde_Perms_Null
public
|
#
newPermission( string $name, string $type = 'matrix', array $params = null )
Returns a new permissions object. |
public
|
#
getPermission( string $name )
Returns an object corresponding to the named permission, with the users and other data retrieved appropriately. |
public
|
#
getPermissionById( integer $cid )
Returns an object corresponding to the given unique ID, with the users and other data retrieved appropriately. |
public
|
#
addPermission(
Adds a permission to the permissions system. The permission must first be created with newPermission(), and have any initial users added to it, before this function is called. |
public
|
#
removePermission(
Removes a permission from the permissions system permanently. |
public
integer
|
#
getPermissionId(
Returns the unique identifier of this permission. |
public
boolean
|
|
public
array
|
|
public
array
|
__construct(),
getPermissions(),
getShortName(),
hasPermission()
|