The Group_ldap class provides an LDAP backend for the Horde groups system.
$Horde: framework/Group/Group/ldap.php,v 1.18.2.15 2009/04/04 10:10:54 jan Exp $
Copyright 2005-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/ldap.php (line 17)
Group | --Group_ldap
Class | Description |
---|---|
![]() |
The Group_kolab class provides a Kolab backend for the Horde groups system. |
LDAP connection handle
Generated LDAP filter based on the config parameters
Local copy of the global $conf['group']['params'] array. Simply for coding convenience.
Inherited from Group
Group::$_datatree
Group::$_groupCache
Group::$_groupList
Group::$_groupMap
Group::$_groupParentList
Group::$_groupParents
Group::$_parentTree
Group::$_subGroups
Group::$_userGroups
Constructor.
Add a group to the groups system. The group must first be created with Group_ldap::newGroup(), and have any initial users added to it, before this function is called.
Check if a group exists in the system.
Return an LDAP_Group object corresponding to the named group, with the users and other data retrieved appropriately.
Return an LDAP_Object object corresponding to the given dn, with the users and other data retrieved appropriately.
Retrieve the ID of the given group.
NOTE: If given a group name, this function can be unreliable if more than one group exists with the same name.
Get a list of every group that the given user is a member of.
Retrieve the name of a group.
Get the parent of the given group.
Get a list of parents all the way up to the root object for the given group.
Get a list of the parents of a child group.
DataTreeObject full names include references to parents, but LDAP does not have this concept. This function simply returns the $group parameter and is included for compatibility with the Group class.
Get a globally unique ID for a group. This really just returns the dn for the group, but is included for compatibility with the Group class.
Returns the tree depth of the given group, relative to the base dn.
Get a list of every user that is part of the specified group and any of its subgroups.
Get a list of every group, in the format dn => groupname.
Return a new group object.
Remove a group from the groups system permanently.
Store updated data - users, etc. - of a group to the backend system.
Connects to the LDAP server.
Searches existing groups for the highest gidnumber, and returns one higher.
Recursively deletes $dn. $this->_ds MUST already be connected.
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:19:06 +0000 by phpDocumentor 1.4.3