PHP 클래스 LdapTools\Operation\Handler\QueryOperationHandler

저자: Chad Sikorra ([email protected])
상속: implements LdapTools\Operation\Handler\OperationHandlerInterface, use trait OperationHandlerTrait
파일 보기 프로젝트 열기: ldaptools/ldaptools 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$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