DAViCal
 All Classes Namespaces Functions Variables Pages
ldapDriver Class Reference

Public Member Functions

 __construct ($config)
 
 getAllUsers ($attributes)
 
 getAllGroups ($attributes)
 
 requestUser ($filter, $attributes=NULL, $username, $passwd)
 

Public Attributes

 $connect
 

Detailed Description

Plugin to authenticate and sync with LDAP

Definition at line 19 of file drivers_ldap.php.

Constructor & Destructor Documentation

ldapDriver::__construct (   $config)

#@- Initializes the LDAP connection

Parameters
array$configThe configuration data

Definition at line 38 of file drivers_ldap.php.

Member Function Documentation

ldapDriver::getAllGroups (   $attributes)

Retrieve all groups from the LDAP directory

Definition at line 153 of file drivers_ldap.php.

ldapDriver::getAllUsers (   $attributes)

Retrieve all users from the LDAP directory

Definition at line 121 of file drivers_ldap.php.

ldapDriver::requestUser (   $filter,
  $attributes = NULL,
  $username,
  $passwd 
)

Returns the result of the LDAP query

Parameters
string$filterThe filter used to search entries
array$attributesAttributes to be returned
string$passwdpassword to check
Returns
array Contains selected attributes from all entries corresponding to the given filter

Definition at line 190 of file drivers_ldap.php.

Member Data Documentation

ldapDriver::$connect

#@+ private Holds the LDAP connection parameters

Definition at line 28 of file drivers_ldap.php.


The documentation for this class was generated from the following file: