public function controlPagedResultResponse($result, &$cookie) { if ($this->isPagingSupported()) { return ldap_control_paged_result_response($this->getConnection(), $result, $cookie); } $message = 'LDAP Pagination is not supported on your current PHP installation.'; throw new AdldapException($message); }