Class Horde_Perms_Permission
Instance of a single permissioning object.
Copyright 2009-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.
Category: Horde
Author: Chuck Hagenbuch chuck@horde.org
Author: Jan Schneider jan@horde.org
Located at Horde/Perms/Permission.php
public
|
#
__construct( string $name, integer $cacheVersion = null, string $type = 'matrix', array $params = null )
Constructor. |
public
|
|
public
mixed
|
|
public
string
|
|
public
|
|
public
array
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
#
addUserPermission( string $user, integer $permission, boolean $update = true )
Grants a user additional permissions to this object. |
public
|
#
addGuestPermission( integer $permission, boolean $update = true )
Grants guests additional permissions to this object. |
public
|
#
addCreatorPermission( integer $permission, boolean $update = true )
Grants creators additional permissions to this object. |
public
|
#
addDefaultPermission( integer $permission, boolean $update = true )
Grants additional default permissions to this object. |
public
|
#
addGroupPermission( integer $groupId, integer $permission, boolean $update = true )
Grants a group additional permissions to this object. |
public
|
#
removeUserPermission( string $user = null, integer $permission = null, boolean $update = true )
Removes a permission that a user currently has on this object. |
public
|
#
removeGuestPermission( integer $permission = null, boolean $update = true )
Removes a permission that guests currently have on this object. |
public
|
#
removeCreatorPermission( integer $permission = null, boolean $update = true )
Removes a permission that creators currently have on this object. |
public
|
#
removeDefaultPermission( integer $permission = null, boolean $update = true )
Removes a default permission on this object. |
public
|
#
removeGroupPermission( integer $groupId = null, integer $permission = null, boolean $update = true )
Removes a permission that a group currently has on this object. |
public
array
|
#
getUserPermissions( integer $perm = null )
Returns an array of all user permissions on this object. |
public
integer
|
|
public
integer
|
|
public
integer
|
|
public
array
|
#
getGroupPermissions( integer $perm = null )
Returns an array of all group permissions on this object. |
public
|
public
mixed
|
$data
TODO |
|
public
mixed
|
$name
TODO |