| 
    ILIAS
    release_9 Revision v9.13-25-g2c18ec4c24f
    
   | 
  
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
 Collaboration diagram for ilLDAPResult:Public Member Functions | |
| __construct ($a_ldap_handle, $a_result=null) | |
| numRows () | |
| Total count of resulted rows.  More... | |
| setResult ($result) | |
| Resource from ldap_search()  More... | |
| get () | |
| Returns last result.  More... | |
| getRows () | |
| Returns complete results.  More... | |
| run () | |
| Starts ldap_get_entries() and transforms results.  More... | |
| __destruct () | |
Private Member Functions | |
| addEntriesToRows (array $entries) | |
| Adds Results from ldap_get_entries() to rows.  More... | |
| toSimpleArray (array $entry) | |
| Transforms results from ldap_get_entries() to a simple format.  More... | |
Private Attributes | |
| $handle | |
| $result = null | |
| array | $rows = [] | 
| array | $last_row | 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.
If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning Class ilLDAPPagedResult
Definition at line 26 of file class.ilLDAPResult.php.
| ilLDAPResult::__construct | ( | $a_ldap_handle, | |
$a_result = null  | 
        |||
| ) | 
| resource | \Ldap\Connection | $a_ldap_handle | from ldap_connect() | 
| null|false|resource|list< | 
Definition at line 45 of file class.ilLDAPResult.php.
| ilLDAPResult::__destruct | ( | ) | 
Definition at line 151 of file class.ilLDAPResult.php.
      
  | 
  private | 
Adds Results from ldap_get_entries() to rows.
Definition at line 105 of file class.ilLDAPResult.php.
References $data, and toSimpleArray().
Referenced by run().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilLDAPResult::get | ( | ) | 
| ilLDAPResult::getRows | ( | ) | 
| ilLDAPResult::numRows | ( | ) | 
Total count of resulted rows.
Definition at line 57 of file class.ilLDAPResult.php.
| ilLDAPResult::run | ( | ) | 
Starts ldap_get_entries() and transforms results.
Definition at line 92 of file class.ilLDAPResult.php.
References addEntriesToRows().
 Here is the call graph for this function:| ilLDAPResult::setResult | ( | $result | ) | 
Resource from ldap_search()
| false|resource|list< | 
Definition at line 66 of file class.ilLDAPResult.php.
References $result.
      
  | 
  private | 
Transforms results from ldap_get_entries() to a simple format.
Definition at line 122 of file class.ilLDAPResult.php.
References $data, and ILIAS\LTI\ToolProvider\$key.
Referenced by addEntriesToRows().
 Here is the caller graph for this function:
      
  | 
  private | 
Definition at line 31 of file class.ilLDAPResult.php.
      
  | 
  private | 
Definition at line 39 of file class.ilLDAPResult.php.
      
  | 
  private | 
Definition at line 36 of file class.ilLDAPResult.php.
Referenced by setResult().
      
  | 
  private | 
Definition at line 38 of file class.ilLDAPResult.php.
Referenced by getRows().