ILIAS
Release_4_0_x_branch Revision 61816
|
Public Member Functions | |
__construct ($a_ldap_connection, $a_result) | |
Constructor. | |
get () | |
Get search result as array. | |
getRows () | |
Get all result rows. | |
numRows () | |
get number of rows | |
__destruct () |
Private Member Functions | |
toSimpleArray () | |
Transform ldap result in simple array. | |
getEntries () | |
Wrapper for ldap_get_entries. |
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 155 of file class.ilLDAPResult.php.
ilLDAPResult::get | ( | ) |
Get search result as array.
public
Definition at line 66 of file class.ilLDAPResult.php.
|
private |
Wrapper for ldap_get_entries.
private
Definition at line 166 of file class.ilLDAPResult.php.
References $entries.
Referenced by toSimpleArray().
ilLDAPResult::getRows | ( | ) |
Get all result rows.
public
Definition at line 77 of file class.ilLDAPResult.php.
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, $key, elseif(), 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.