Cradle
0.3.3
Simple library for creating Web-based applications
|
LDAP request wrapper. More...
Static Public Member Functions | |
static | connect ($connection=null) |
static | request ($query, $data=null, $connection=null, $type="select", $returnStatment=false) |
static | getLastError () |
static | destroy () |
Static Public Attributes | |
static | $default |
LDAP request wrapper.
A simple LDAP request wrapper class. Designed to make simple LDAP requests more easy and short.
|
static |
Connect to LDAP server (option)
array | $connection | An array of connection params: [
"host" => "...",
"base" => "...",
"user" => "...",
"pass" => "...",
"attributes" => "...",
]
|
|
static |
Destructor
|
static |
Returns the last error of request
|
static |
Execute LDAP request (LDAP search)
string | $query | LDAP filter |
array | $data | LDAP attributes () |
array | $connection | (option) An array of connection params (see a method connect) |
string | $type | type of request [ not used ] default = "select" |
boolean | $returnStatment | TRUE = return raw data (LDAP response entries) |
|
static |