PHP Класс LdapTools\Operation\Handler\QueryOperationHandler

Автор: Chad Sikorra ([email protected])
Наследование: implements LdapTools\Operation\Handler\OperationHandlerInterface, use trait OperationHandlerTrait
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$paging LdapTools\Connection\PageControl

Открытые методы

Метод Описание
__construct ( PageControl $paging = null )
execute ( LdapTools\Operation\LdapOperationInterface $operation )
parentSetDefaults ( )
setOperationDefaults ( LdapTools\Operation\LdapOperationInterface $operation )
supports ( LdapTools\Operation\LdapOperationInterface $operation )

Защищенные методы

Метод Описание
getBaseDn ( ) : string Gets the base DN for a search based off of the config and then the RootDSE.
paging ( ) : PageControl
processSearchResult ( resource $result, array $allEntries ) : array Process a LDAP search result and merge it with the existing entries if possible.
shouldUsePaging ( QueryOperation $operation ) : boolean Based on the query operation, determine whether paging should be used.

Описание методов

__construct() публичный метод

public __construct ( PageControl $paging = null )
$paging LdapTools\Connection\PageControl

execute() публичный метод

public execute ( LdapTools\Operation\LdapOperationInterface $operation )
$operation LdapTools\Operation\LdapOperationInterface

getBaseDn() защищенный метод

Gets the base DN for a search based off of the config and then the RootDSE.
protected getBaseDn ( ) : string
Результат string

paging() защищенный метод

protected paging ( ) : PageControl
Результат LdapTools\Connection\PageControl

parentSetDefaults() публичный метод

public parentSetDefaults ( )

processSearchResult() защищенный метод

Process a LDAP search result and merge it with the existing entries if possible.
protected processSearchResult ( resource $result, array $allEntries ) : array
$result resource
$allEntries array
Результат array

setOperationDefaults() публичный метод

public setOperationDefaults ( LdapTools\Operation\LdapOperationInterface $operation )
$operation LdapTools\Operation\LdapOperationInterface

shouldUsePaging() защищенный метод

Based on the query operation, determine whether paging should be used.
protected shouldUsePaging ( QueryOperation $operation ) : boolean
$operation LdapTools\Operation\QueryOperation
Результат boolean

supports() публичный метод

public supports ( LdapTools\Operation\LdapOperationInterface $operation )
$operation LdapTools\Operation\LdapOperationInterface

Описание свойств

$paging защищенное свойство

protected PageControl,LdapTools\Connection $paging
Результат LdapTools\Connection\PageControl