The Group:: class provides the Horde groups system.
$Horde: framework/Group/Group.php,v 1.67.2.22 2009/01/06 15:23:08 jan 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.php (line 26)
Class | Description |
---|---|
![]() |
The Group_hooks:: class provides the Horde groups system with the addition of adding support for hook functions to define if a user is in a group. |
![]() |
The Group_ldap class provides an LDAP backend for the Horde groups system. |
![]() |
The Group:: class provides the Horde groups system. |
![]() |
The Group:: class provides the Horde groups system. |
Pointer to a DataTree instance to manage the different groups.
Cache of previously retrieved group objects.
Id-name-hash of all existing groups.
Id-name-map of already cached group objects.
Cache of parent group trees.
This is an array with group IDs as keys and id-name-hashes of all parents as values.
Cache of parent groups.
This is an array with group IDs as keys and the integer group id of the direct parent as values.
Group driver parameters
Cache of parents tree.
List of sub groups.
Hash of groups of certain users.
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.
Check if a group exists in the system.
Attempts to return a concrete Group instance based on $driver.
Returns a DataTreeObject_Group object corresponding to the named group, with the users and other data retrieved appropriately.
Returns a DataTreeObject_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.
Returns a globally unique ID for a group.
Returns the nesting level of the given group. 0 is returned for any object directly below GROUP_ROOT.
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.
Get a list of every user that is a part of this group ONLY.
Returns a new group object.
Removes a group from the groups system permanently.
Stores the object in the session cache.
Attempts to return a reference to a concrete Group instance.
It will only create a new instance if no Group instance currently exists.
This method must be invoked as: $var = &Group::singleton()
Stores updated data - users, etc. - of a group to the backend system.
Say if a user is a member of a group or not.
Returns the properties that need to be serialized.
Initializes the object.
Documentation generated on Sun, 30 Jan 2011 05:17:53 +0000 by phpDocumentor 1.4.3