ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Public Member Functions | |
__construct ($a_ldap_connection, $a_result) | |
Constructor. More... | |
get () | |
Get search result as array. More... | |
getRows () | |
Get all result rows. More... | |
numRows () | |
get number of rows More... | |
__destruct () | |
Private Member Functions | |
toSimpleArray () | |
Transform ldap result in simple array. More... | |
getEntries () | |
Wrapper for ldap_get_entries. More... | |
Private Attributes | |
$ldap_handle = null | |
$result = null | |
$entries = null | |
$num_results = null | |
$data = null | |
Definition at line 34 of file class.ilLDAPResult.php.
ilLDAPResult::__construct | ( | $a_ldap_connection, | |
$a_result | |||
) |
Constructor.
public
resource | ldap connection |
resource | ldap result |
Definition at line 51 of file class.ilLDAPResult.php.
References toSimpleArray().
ilLDAPResult::__destruct | ( | ) |
Definition at line 147 of file class.ilLDAPResult.php.
ilLDAPResult::get | ( | ) |
|
private |
Wrapper for ldap_get_entries.
private
Definition at line 158 of file class.ilLDAPResult.php.
References $attributes, $entries, $i, and array.
Referenced by toSimpleArray().
ilLDAPResult::getRows | ( | ) |
ilLDAPResult::numRows | ( | ) |
get number of rows
public
Definition at line 89 of file class.ilLDAPResult.php.
References $num_results.
|
private |
Transform ldap result in simple array.
private
Definition at line 101 of file class.ilLDAPResult.php.
References $data, $i, $key, array, data, and getEntries().
Referenced by __construct().
|
private |
Definition at line 41 of file class.ilLDAPResult.php.
Referenced by toSimpleArray().
|
private |
Definition at line 38 of file class.ilLDAPResult.php.
Referenced by getEntries().
|
private |
Definition at line 36 of file class.ilLDAPResult.php.
|
private |
Definition at line 40 of file class.ilLDAPResult.php.
Referenced by numRows().
|
private |
Definition at line 37 of file class.ilLDAPResult.php.