Constructor
XML_Query2XML_Driver_LDAP
__construct
( $ldap)
-
Net_LDAP
$ldap: An instance of PEAR Net_LDAP.
Execute a LDAP query stement and fetch all results.
array
getAllRecords
(mixed $query, string $configPath)
-
mixed
$query: The SQL query as a string or an array.
-
string
$configPath: The config path; used for exception messages.
Redefinition of:
- XML_Query2XML_Driver::getAllRecords()
- This method, when implemented executes the query passed as the first argument and returns all records from the result set.
Pre-processes LDAP query specifications.
string
preprocessQuery
(array &$query, string $configPath)
-
array
&$query: An array optionally containing the elements 'base', 'filter', 'options' and 'data'.
-
string
$configPath: The config path; used for exception messages.
Redefinition of:
- XML_Query2XML_Driver::preprocessQuery()
- Pre-processes a query specification and returns a string representation of the query.
Inherited Methods
Inherited From XML_Query2XML_Driver
XML_Query2XML_Driver::factory()
XML_Query2XML_Driver::getAllRecords()
XML_Query2XML_Driver::preprocessQuery()