-
$_applicationPermissions
-
Caches information about application permissions.
-
$_cache
-
Pointer to a Horde_Cache instance
-
$_cache
-
Pointer to a Horde_Cache instance
-
$_connected
-
Boolean indicating whether or not we're connected to the SQL server.
-
$_datatree
-
Pointer to a DataTree instance to manage the different permissions.
-
$_db
-
Handle for the current database connection.
-
$_form
-
The Horde_Form object that will be used for displaying the edit form.
-
$_id
-
The string permission id.
-
$_perms
-
The Perms object we're displaying UI stuff for.
-
$_type
-
The permission type.
-
$_vars
-
The Variables object used in Horde_Form.
-
$_write_db
-
Handle for the current database connection, used for writing. Defaults to the same handle as $db if a separate write database is not required.
-
$_write_db
-
Database handle for saving changes.
-
_connect
-
Attempts to open a connection to the sql server.
-
_getParents
-
-
addCreatorPermission
-
Grants creators additional permissions to this object.
-
addCreatorPermission
-
Grants creators additional permissions to this object.
-
addDefaultPermission
-
Grants additional default permissions to this object.
-
addDefaultPermission
-
Grants additional default permissions to this object.
-
addGroupPermission
-
Grants a group additional permissions to this object.
-
addGroupPermission
-
Grants a group additional permissions to this object.
-
addGuestPermission
-
Grants guests additional permissions to this object.
-
addGuestPermission
-
Grants guests additional permissions to this object.
-
addPermission
-
Adds a permission to the permissions system. The permission must first be created with Perm::newPermission(), and have any initial users added to it, before this function is called.
-
addPermission
-
Adds a permission to the permissions system. The permission must first be created with Perm::newPermission(), and have any initial users added to it, before this function is called.
-
addPermission
-
Adds a permission to the permissions system. The permission must first be created with Perm::newPermission(), and have any initial users added to it, before this function is called.
-
addUserPermission
-
Grants a user additional permissions to this object.
-
addUserPermission
-
Grants a user additional permissions to this object.
-
get
-
Gets one of the attributes of the object, or null if it isn't defined.
-
get
-
Gets one of the attributes of the object, or null if it isn't defined.
-
getApplicationPermissions
-
Returns information about permissions implemented by an application.
-
getAvailable
-
Returns the available permissions for a given level.
-
getCreatorPermissions
-
Returns the creator permissions on this object.
-
getCreatorPermissions
-
Returns the creator permissions on this object.
-
getData
-
Get permission details
-
getDefaultPermissions
-
Returns the default permissions on this object.
-
getDefaultPermissions
-
Returns the default permissions on this object.
-
getGroupPermissions
-
Returns an array of all group permissions on this object.
-
getGroupPermissions
-
Returns an array of all group permissions on this object.
-
getGuestPermissions
-
Returns the guest permissions on this object.
-
getGuestPermissions
-
Returns the guest permissions on this object.
-
getId
-
Get permission ID
-
getName
-
Get permission name
-
getParent
-
Returns a child's direct parent ID.
-
getParent
-
Returns a child's direct parent ID.
-
getParents
-
Returns a list of parent permissions.
-
getParents
-
Returns a list of parent permissions.
-
getParents
-
Returns a list of parent permissions.
-
getPermission
-
Returns a Permission object corresponding to the named permission, with the users and other data retrieved appropriately.
-
getPermission
-
Returns a SQLObject_Permission object corresponding to the named permission, with the users and other data retrieved appropriately.
-
getPermission
-
Returns a DataTreeObject_Permission object corresponding to the named permission, with the users and other data retrieved appropriately.
-
getPermissionById
-
Returns a SQLObject_Permission object corresponding to the given unique ID, with the users and other data retrieved appropriately.
-
getPermissionById
-
Returns a Permission object corresponding to the given unique ID, with the users and other data retrieved appropriately.
-
getPermissionById
-
Returns a DataTreeObject_Permission object corresponding to the given unique ID, with the users and other data retrieved appropriately.
-
getPermissionId
-
Returns the unique identifier of this permission.
-
getPermissionId
-
Returns the unique identifier of this permission.
-
getPermissionId
-
Returns the unique identifier of this permission.
-
getPermissions
-
Finds out what rights the given user has to this object.
-
getPermsArray
-
Returns an hash of the available permissions.
-
getShortName
-
Returns the short name of an object, the last portion of the full name.
-
getTitle
-
Given a permission name, returns the title for that permission by looking it up in the applications's permission api.
-
getTree
-
Returns all permissions of the system in a tree format.
-
getTree
-
Returns all permissions of the system in a tree format.
-
getTree
-
Returns all permissions of the system in a tree format.
-
getUserPermissions
-
Returns an array of all user permissions on this object.
-
getUserPermissions
-
Returns an array of all user permissions on this object.
-
removeCreatorPermission
-
Removes a permission that creators currently have on this object.
-
removeCreatorPermission
-
Removes a permission that creators currently have on this object.
-
removeDefaultPermission
-
Removes a default permission on this object.
-
removeDefaultPermission
-
Removes a default permission on this object.
-
removeGroupPermission
-
Removes a permission that a group currently has on this object.
-
removeGroupPermission
-
Removes a permission that a group currently has on this object.
-
removeGuestPermission
-
Removes a permission that guests currently have on this object.
-
removeGuestPermission
-
Removes a permission that guests currently have on this object.
-
removePermission
-
Removes a permission from the permissions system permanently.
-
removePermission
-
Removes a permission from the permissions system permanently.
-
removePermission
-
Removes a permission from the permissions system permanently.
-
removeUserPermission
-
Removes a permission that a user currently has on this object.
-
removeUserPermission
-
Removes a permission that a user currently has on this object.
-
renderForm
-
Renders the edit form.
-
renderTree
-
Return a Horde_Tree representation of the permissions tree.