public function controlPagedResult($pageSize = 1000, $isCritical = false, $cookie = '') { if ($this->isPagingSupported()) { return ldap_control_paged_result($this->getConnection(), $pageSize, $isCritical, $cookie); } throw new AdldapException('LDAP Pagination is not supported on your current PHP installation.'); }