[Horde_Perms] element index

Package indexes

All elements
a d e f g h i n p r s u v _
_
top
Variable $_applicationPermissions
Caches information about application permissions.
Variable $_cache
Pointer to a Horde_Cache instance
Variable $_cache
Perms_datatree::$_cache in datatree.php
Pointer to a Horde_Cache instance
Variable $_connected
Boolean indicating whether or not we're connected to the SQL server.
Variable $_datatree
Pointer to a DataTree instance to manage the different permissions.
Variable $_db
Perms_sql::$_db in sql.php
Handle for the current database connection.
Variable $_form
The Horde_Form object that will be used for displaying the edit form.
Variable $_id
The string permission id.
Variable $_perms
The Perms object we're displaying UI stuff for.
Variable $_type
The permission type.
Variable $_vars
The Variables object used in Horde_Form.
Variable $_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.
Variable $_write_db
Database handle for saving changes.
Method _connect
Attempts to open a connection to the sql server.
Method _getParents
a
top
Method addCreatorPermission
Grants creators additional permissions to this object.
Method addCreatorPermission
Grants creators additional permissions to this object.
Method addDefaultPermission
Grants additional default permissions to this object.
Method addDefaultPermission
Grants additional default permissions to this object.
Method addGroupPermission
Grants a group additional permissions to this object.
Method addGroupPermission
Grants a group additional permissions to this object.
Method addGuestPermission
Grants guests additional permissions to this object.
Method addGuestPermission
Grants guests additional permissions to this object.
Method 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.
Method 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.
Method 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.
Method addUserPermission
Grants a user additional permissions to this object.
Method addUserPermission
Grants a user additional permissions to this object.
d
top
Method DataTreeObject_Permission
The DataTreeObject_Permission constructor. Just makes sure to call the parent constructor so that the perm's name is set properly.
Class DataTreeObject_Permission
Extension of the DataTreeObject class for storing Permission information in the DataTree driver. If you want to store specialized Permission information, you should extend this class instead of extending DataTreeObject directly.
Page datatree.php
datatree.php in datatree.php
e
top
Method exists
Checks if a permission exists in the system.
Method exists
Perms::exists() in Perms.php
Checks if a permission exists in the system.
Method exists
Perms_datatree::exists() in datatree.php
Checks if a permission exists in the system.
f
top
Method factory
Perms::factory() in Perms.php
Attempts to return a concrete Perms instance based on $driver.
g
top
Method get
Gets one of the attributes of the object, or null if it isn't defined.
Method get
Gets one of the attributes of the object, or null if it isn't defined.
Method getApplicationPermissions
Returns information about permissions implemented by an application.
Method getAvailable
Returns the available permissions for a given level.
Method getCreatorPermissions
Returns the creator permissions on this object.
Method getCreatorPermissions
Returns the creator permissions on this object.
Method getData
Get permission details
Method getDefaultPermissions
Returns the default permissions on this object.
Method getDefaultPermissions
Returns the default permissions on this object.
Method getGroupPermissions
Returns an array of all group permissions on this object.
Method getGroupPermissions
Returns an array of all group permissions on this object.
Method getGuestPermissions
Returns the guest permissions on this object.
Method getGuestPermissions
Returns the guest permissions on this object.
Method getId
Get permission ID
Method getName
Get permission name
Method getParent
Returns a child's direct parent ID.
Method getParent
Returns a child's direct parent ID.
Method getParents
Returns a list of parent permissions.
Method getParents
Returns a list of parent permissions.
Method getParents
Perms::getParents() in Perms.php
Returns a list of parent permissions.
Method getPermission
Returns a Permission object corresponding to the named permission, with the users and other data retrieved appropriately.
Method getPermission
Returns a SQLObject_Permission object corresponding to the named permission, with the users and other data retrieved appropriately.
Method getPermission
Returns a DataTreeObject_Permission object corresponding to the named permission, with the users and other data retrieved appropriately.
Method getPermissionById
Returns a SQLObject_Permission object corresponding to the given unique ID, with the users and other data retrieved appropriately.
Method getPermissionById
Returns a Permission object corresponding to the given unique ID, with the users and other data retrieved appropriately.
Method getPermissionById
Returns a DataTreeObject_Permission object corresponding to the given unique ID, with the users and other data retrieved appropriately.
Method getPermissionId
Returns the unique identifier of this permission.
Method getPermissionId
Returns the unique identifier of this permission.
Method getPermissionId
Returns the unique identifier of this permission.
Method getPermissions
Finds out what rights the given user has to this object.
Method getPermsArray
Returns an hash of the available permissions.
Method getShortName
Returns the short name of an object, the last portion of the full name.
Method getTitle
Perms::getTitle() in Perms.php
Given a permission name, returns the title for that permission by looking it up in the applications's permission api.
Method getTree
Returns all permissions of the system in a tree format.
Method getTree
Returns all permissions of the system in a tree format.
Method getTree
Perms::getTree() in Perms.php
Returns all permissions of the system in a tree format.
Method getUserPermissions
Returns an array of all user permissions on this object.
Method getUserPermissions
Returns an array of all user permissions on this object.
h
top
Method hasPermission
Finds out if the user has the specified rights to the given object.
Method Horde_Permission
The Horde_Permission constructor.
Class Horde_Permission
Horde_Permission in Perms.php
Horde_Permission
i
top
Method integerToArray
Given an integer value of permissions returns an array representation of the integer.
n
top
Method newPermission
Returns a new permissions object.
Method newPermission
Returns a new permissions object.
Method newPermission
Returns a new permissions object.
p
top
Class Perms
Perms in Perms.php
The Perms:: class provides the Horde permissions system.
Page Perms.php
Perms.php in Perms.php
Constant PERMS_ALL
PERMS_ALL in Perms.php
A bitmask of all possible permission values. Useful for removeXxxPermission(), unsetPerm(), etc.
Method Perms_datatree
Constructor.
Class Perms_datatree
Perms_datatree in datatree.php
The Perms_datatree:: class provides a DataTree driver for the Horde permissions system.
Constant PERMS_DELETE
PERMS_DELETE in Perms.php
The object can be deleted.
Constant PERMS_EDIT
PERMS_EDIT in Perms.php
Contents of the object can be edited.
Constant PERMS_READ
PERMS_READ in Perms.php
Contents of the object can be read.
Constant PERMS_ROOT
PERMS_ROOT in Perms.php
The root permission
Constant PERMS_SHOW
PERMS_SHOW in Perms.php
Existence of object is known - object is shown to user.
Method Perms_sql
Constructor.
Class Perms_sql
Perms_sql in sql.php
The Perms_sql:: class provides a SQL driver for the Horde permissions system.
Method Perms_UI
Constructor.
Class Perms_UI
Perms_UI in UI.php
The Perms_UI:: class provides UI methods for the Horde permissions system.
r
top
Method removeCreatorPermission
Removes a permission that creators currently have on this object.
Method removeCreatorPermission
Removes a permission that creators currently have on this object.
Method removeDefaultPermission
Removes a default permission on this object.
Method removeDefaultPermission
Removes a default permission on this object.
Method removeGroupPermission
Removes a permission that a group currently has on this object.
Method removeGroupPermission
Removes a permission that a group currently has on this object.
Method removeGuestPermission
Removes a permission that guests currently have on this object.
Method removeGuestPermission
Removes a permission that guests currently have on this object.
Method removePermission
Removes a permission from the permissions system permanently.
Method removePermission
Removes a permission from the permissions system permanently.
Method removePermission
Removes a permission from the permissions system permanently.
Method removeUserPermission
Removes a permission that a user currently has on this object.
Method removeUserPermission
Removes a permission that a user currently has on this object.
Method renderForm
Renders the edit form.
Method renderTree
Return a Horde_Tree representation of the permissions tree.
s
top
Page sql.php
sql.php in sql.php
Method save
Saves any changes to this object to the backend permanently. New objects are added instead.
Method save
Saves any changes to this object to the backend permanently. New objects are added instead.
Method setData
Set permission id
Method setForm
Set an existing form object to use for the edit form.
Method setId
Set permission id
Method setName
Set permission name
Method setPerm
FIXME: needs docs
Method setPerm
FIXME: needs docs
Method setSQLOb
Associates a DB object with this share.
Method setupAddForm
Create a form to add a permission.
Method setupDeleteForm
Create a permission deleting form.
Method setupEditForm
Create a permission editing form.
Method setVars
Set an existing vars object to use for the edit form.
Method singleton
Perms::singleton() in Perms.php
Attempts to return a reference to a concrete Perms instance.
Method SQLObject_Permission
The Horde_Permission constructor.
Class SQLObject_Permission
Extension of the Horde_Permission class for storing permission information in the SQL driver.
u
top
Page UI.php
UI.php in UI.php
Method unsetPerm
FIXME: needs docs
Method unsetPerm
FIXME: needs docs
Method updatePermissions
Updates the permissions based on data passed in the array.
Method updatePermissions
Updates the permissions based on data passed in the array.
v
top
Method validateAddForm
Function to validate any add form input.
Method validateDeleteForm
Function to validate any delete form input.
Method validateEditForm
Function to validate any edit form input.
a d e f g h i n p r s u v _