The Perms_sql:: class provides a SQL driver for the Horde permissions system.
$Horde: framework/Perms/Perms/sql.php,v 1.1.2.17 2010-11-25 20:12:05 jan Exp $
Copyright 2008-2009 The Horde Project (http://www.horde.org/)
See the enclosed file COPYING for license information (LGPL). If you did not receive this file, see http://www.fsf.org/copyleft/lgpl.html.
Located in /Perms/Perms/sql.php (line 20)
Perms | --Perms_sql
Pointer to a Horde_Cache instance
Boolean indicating whether or not we're connected to the SQL server.
Handle for the current database connection.
Handle for the current database connection, used for writing. Defaults to the same handle as $db if a separate write database is not required.
Inherited from Perms
Perms::$_applicationPermissions
Constructor.
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.
Checks if a permission exists in the system.
Returns a child's direct parent ID.
Returns a list of parent permissions.
Returns a SQLObject_Permission object corresponding to the named permission, with the users and other data retrieved appropriately.
Returns a SQLObject_Permission object corresponding to the given unique ID, with the users and other data retrieved appropriately.
Returns the unique identifier of this permission.
Returns all permissions of the system in a tree format.
Returns a new permissions object.
Removes a permission from the permissions system permanently.
Attempts to open a connection to the sql server.
Inherited From Perms
Perms::addPermission()
Perms::exists()
Perms::factory()
Perms::getApplicationPermissions()
Perms::getAvailable()
Perms::getParents()
Perms::getPermission()
Perms::getPermissionById()
Perms::getPermissionId()
Perms::getPermissions()
Perms::getPermsArray()
Perms::getShortName()
Perms::getTitle()
Perms::getTree()
Perms::hasPermission()
Perms::integerToArray()
Perms::newPermission()
Perms::removePermission()
Perms::singleton()
Documentation generated on Sun, 30 Jan 2011 05:21:50 +0000 by phpDocumentor 1.4.3