The Group:: class provides the Horde groups system.
$Horde: framework/Group/Group/sql.php,v 1.1.2.12 2009/02/25 05:35:42 chuck Exp $
Copyright 1999-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 /Group/Group/sql.php (line 16)
Group | --Group_sql
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 Group
Group::$_datatree
Group::$_groupCache
Group::$_groupList
Group::$_groupMap
Group::$_groupParentList
Group::$_groupParents
Group::$_params
Group::$_parentTree
Group::$_subGroups
Group::$_userGroups
Constructor.
Adds a group to the groups system. The group must first be created with Group::newGroup(), and have any initial users added to it, before this function is called.
Replace all occurences of ':' in an object name with '.'.
Check if a group exists in the system.
Returns a SQLObject_Group object corresponding to the named group, with the users and other data retrieved appropriately.
Returns a SQLObject_Group object corresponding to the given unique ID, with the users and other data retrieved appropriately.
Retrieves the ID of a group.
Get a list of every group that $user is in.
Retrieves the name of a group.
Returns the single parent ID of the given group.
Returns a flat list of the parents of a child group
Returns a tree of the parents of a child group.
Strips all parent references off of the given group name.
Get a list of every user that is part of the specified group and any of its subgroups.
Returns a list of all groups, in the format id => groupname.
Returns a new group object.
Removes a group from the groups system permanently.
Stores the object in the session cache.
Stores updated data - users, etc. - of a group to the backend system.
Say if a user is a member of a group or not.
Attempts to open a persistent connection to the sql server.
Returns a flat list of the parents of a child group
Returns a list of parent permissions.
Returns the properties that need to be serialized.
Initializes the object.
Inherited From Group
Group::Group()
Group::addGroup()
Group::exists()
Group::factory()
Group::getGroup()
Group::getGroupById()
Group::getGroupId()
Group::getGroupMemberships()
Group::getGroupName()
Group::getGroupParent()
Group::getGroupParentList()
Group::getGroupParents()
Group::getGroupShortName()
Group::getGUID()
Group::getLevel()
Group::listAllUsers()
Group::listGroups()
Group::listUsers()
Group::newGroup()
Group::removeGroup()
Group::shutdown()
Group::singleton()
Group::updateGroup()
Group::userIsInGroup()
Group::_loadDriver()
Group::__sleep()
Group::__wakeup()
Documentation generated on Sun, 30 Jan 2011 05:21:40 +0000 by phpDocumentor 1.4.3