Class LDAP_Group

Description

Extension of the DataTreeObject_Group class for storing group information in an LDAP directory.

Located in /Group/Group/ldap.php (line 745)

DataTreeObject
   |
   --DataTreeObject_Group
      |
      --LDAP_Group
Direct descendents
Class Description
 class Kolab_Group
Method Summary
 LDAP_Group LDAP_Group (string $name, [string $parent = null])
 array listAllUsers ()
 array listUsers ()
 void _fromAttributes ([array $attributes = array()])
 array _toAttributes ()
Variables
Methods
Constructor LDAP_Group (line 753)

Constructor.

LDAP_Group LDAP_Group (string $name, [string $parent = null])
  • string $name: The name of this group.
  • string $parent: The dn of the parent of this group.
listAllUsers (line 781)

Get a list of every user that is a member of this group and any of it's subgroups.

  • return: The complete user list.
array listAllUsers ()

Redefinition of:
DataTreeObject_Group::listAllUsers()
Get a list of every user that is a part of this group and any of it's subgroups
listUsers (line 770)

Get a list of every user that is part of this group (and only this group).

  • return: The user list.
array listUsers ()

Redefinition of:
DataTreeObject_Group::listUsers()
Get a list of every user that is a part of this group (and only this group)
_fromAttributes (line 792)

Take in a list of attributes from the backend and map it to our internal data array.

void _fromAttributes ([array $attributes = array()])
  • array $attributes: The list of attributes from the backend.

Redefinition of:
DataTreeObject_Group::_fromAttributes()
Take in a list of attributes from the backend and map it to our internal data array.

Redefined in descendants as:
_toAttributes (line 834)

Map this object's attributes from the data array into a format that can be stored in an LDAP entry.

  • return: The entry array.
array _toAttributes ()

Redefinition of:
DataTreeObject_Group::_toAttributes()
Map this object's attributes from the data array into a format that we can store in the attributes storage backend.

Redefined in descendants as:

Inherited Methods

Inherited From DataTreeObject_Group

 DataTreeObject_Group::DataTreeObject_Group()
 DataTreeObject_Group::addUser()
 DataTreeObject_Group::clearAuditLog()
 DataTreeObject_Group::getAuditLog()
 DataTreeObject_Group::getId()
 DataTreeObject_Group::listAllUsers()
 DataTreeObject_Group::listUsers()
 DataTreeObject_Group::removeUser()
 DataTreeObject_Group::save()
 DataTreeObject_Group::setGroupOb()
 DataTreeObject_Group::_fromAttributes()
 DataTreeObject_Group::_toAttributes()
 DataTreeObject_Group::__sleep()

Inherited From DataTreeObject

 DataTreeObject::DataTreeObject()
 DataTreeObject::delete()
 DataTreeObject::get()
 DataTreeObject::getChild()
 DataTreeObject::getData()
 DataTreeObject::getId()
 DataTreeObject::getName()
 DataTreeObject::getParent()
 DataTreeObject::getShortName()
 DataTreeObject::save()
 DataTreeObject::set()
 DataTreeObject::setData()
 DataTreeObject::setDataTree()
 DataTreeObject::setName()
 DataTreeObject::setOrder()

Documentation generated on Sun, 30 Jan 2011 05:19:07 +0000 by phpDocumentor 1.4.3