You are here

public function SimpleLdap::controlPageResultResponse in Simple LDAP 8

Wrapper function for ldap_control_paged_result_response().

Parameters

resource $result: An LDAP search result identifier.

string $cookie: An opaque structure sent by the server.

int $estimated: The estimated number of entries to retrieve.

Return value

boolean TRUE on success.

File

src/SimpleLdap.php, line 300

Class

SimpleLdap
A wrapper for PHP's LDAP functions, with associated helper methods.

Namespace

Drupal\simple_ldap

Code

public function controlPageResultResponse($result, &$cookie = NULL, &$estimated = NULL) {
  $return = @ldap_control_paged_result_response($this->connection
    ->getResource(), $result, $cookie, $estimated);
  return $return;
}