프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$connection | LdapTools\Connection\LdapConnectionInterface | ||
$cookie | null | string | ||
$isEnabled | Whether or not paging is actually active for the connection. | ||
$pageSize | The page size for the paging operation. | ||
$resultNumber | The result set number the paging operation is currently on. | ||
$sizeLimit | The size limit for the paging operation. |
메소드 | 설명 | |
---|---|---|
__construct ( LdapTools\Connection\LdapConnectionInterface $connection ) | ||
end ( ) | End a paging operation. | |
isActive ( ) : boolean | Returns whether or not a paging operation is active based on the status of the paging cookie (omnomnom). | |
isEnabled ( ) : boolean | Check whether or not paging is active. If it is not active, the controls methods will not actually do anything. | |
next ( ) | Signifies to the connection to expect the next paged result with the current cookie and page size. | |
resetPagingControl ( ) | Resets the paging control so that read operations work after a paging operation is used. | |
setIsEnabled ( boolean $enabled ) | Set whether or not paging is active and should be used. | |
start ( integer $pageSize, integer $sizeLimit ) | Start a paging operation by setting up the cookie and the page size. Optionally set a size limit. | |
update ( resource $result ) | Updating the paging operation based on the result resource returned from a query. |
public __construct ( LdapTools\Connection\LdapConnectionInterface $connection ) | ||
$connection | LdapTools\Connection\LdapConnectionInterface |
public next ( ) |
public resetPagingControl ( ) |
public setIsEnabled ( boolean $enabled ) | ||
$enabled | boolean |
public update ( resource $result ) | ||
$result | resource |
protected LdapConnectionInterface,LdapTools\Connection $connection | ||
리턴 | LdapTools\Connection\LdapConnectionInterface |
protected $isEnabled |
protected $resultNumber |