ldap_control_paged_result
PHP 5 >= 5.4.0, PHP 7
Deprecated: PHP 7.4.0
ldap_control_paged_result - Send LDAP pagination control
Manual
ldap_control_paged_result(
resource$link,
int$pagesize,
[bool$iscritical = false],
[string$cookie = ""]
): bool
resource$link,
int$pagesize,
[bool$iscritical = false],
[string$cookie = ""]
): bool
Enable LDAP pagination by sending the pagination control (page size, cookie...).
Parameters
- link
-
An LDAP resource, returned by ldap_connect.
- pagesize
-
The number of entries by page.
- iscritical
-
Indicates whether the pagination is critical or not. If true and if the server doesn't support pagination, the search will return no result.
- cookie
-
An opaque structure sent by the server (ldap_control_paged_result_response).
Return Values
Returns true on success or false on failure.
Notes
Note:
Pagination control is a LDAPv3 protocol feature.
Changelog
Version | Description |
8.0.0 | This function has been removed. |
7.4.0 | This function has been deprecated. |