$cache
$cache
private properties
Model class to access an LDAP directories
| None found |
scope2func(mixed $scope, mixed $ns_function = null) : mixed
| mixed | $scope | |
| mixed | $ns_function |
| None found |
set_config(mixed $opt, mixed $val = null) : mixed
| mixed | $opt | |
| mixed | $val |
| None found |
| None found |
| None found |
mod_replace(mixed $dn, mixed $entry) : mixed
Wrapper for ldap_mod_replace()
| mixed | $dn | |
| mixed | $entry |
| None found |
mod_add(mixed $dn, mixed $entry) : mixed
Wrapper for ldap_mod_add()
| mixed | $dn | |
| mixed | $entry |
| None found |
mod_del(mixed $dn, mixed $entry) : mixed
Wrapper for ldap_mod_del()
| mixed | $dn | |
| mixed | $entry |
| None found |
rename(mixed $dn, mixed $newrdn, mixed $newparent = null, mixed $deleteoldrdn = true) : mixed
Wrapper for ldap_rename()
| mixed | $dn | |
| mixed | $newrdn | |
| mixed | $newparent | |
| mixed | $deleteoldrdn |
| None found |
list_entries(mixed $dn, mixed $filter, mixed $attributes = ['dn']) : mixed
Wrapper for ldap_list() + ldap_get_entries()
| mixed | $dn | |
| mixed | $filter | |
| mixed | $attributes |
| None found |
read_entries(mixed $dn, mixed $filter, mixed $attributes = null) : mixed
Wrapper for ldap_read() + ldap_get_entries()
| mixed | $dn | |
| mixed | $filter | |
| mixed | $attributes |
| None found |
normalize_entry(array $entry, bool $flat = false) : array
Turn an LDAP entry into a regular PHP array with attributes as keys.
| array | $entry | Attributes array as retrieved from ldap_get_attributes() or ldap_get_entries() |
| bool | $flat | Convert one-element-array values into strings (not implemented) |
Hash array with attributes as keys
| None found |
fulltext_search_filter(string $value, mixed $attributes, int $mode = 1) : string
Compose an LDAP filter string matching all words from the search string in the given list of attributes.
| string | $value | Search value |
| mixed | $attributes | List of LDAP attributes to search |
| int | $mode | Matching mode: 0 - partial (abc), 1 - strict (=), 2 - prefix (abc*) |
LDAP filter
| None found |