PHP 트레잇 LdapTools\Operation\LdapOperationTrait

저자: Chad Sikorra ([email protected])
파일 보기 프로젝트 열기: ldaptools/ldaptools

보호된 프로퍼티들

프로퍼티 타입 설명
$controls LdapTools\Connection\LdapControl[]
$postOperations LdapTools\Operation\LdapOperationInterface[]
$preOperations LdapTools\Operation\LdapOperationInterface[]
$server null | string

공개 메소드들

메소드 설명
addControl ( variadic $controls ) Add a control to the operation.
addPostOperation ( variadic $operations ) Add an operation that should be executed after this operation.
addPreOperation ( variadic $operations ) Add an operation that should be executed before this operation.
getControls ( ) : LdapControl[] Get the controls set for the operation.
getPostOperations ( ) : LdapTools\Operation\LdapOperationInterface[] Get operations that should be executed after this operation.
getPreOperations ( ) : LdapTools\Operation\LdapOperationInterface[] Get operations that should be executed before this operation.
getServer ( ) : null | string Get the server that should be used for the operation.
setServer ( string | null $server ) Set the LDAP server that should be used for the operation.

보호된 메소드들

메소드 설명
mergeLogDefaults ( array $log ) : array Merges the log array with common log properties.

메소드 상세

addControl() 공개 메소드

Add a control to the operation.
public addControl ( variadic $controls )
$controls variadic

addPostOperation() 공개 메소드

Add an operation that should be executed after this operation.
public addPostOperation ( variadic $operations )
$operations variadic

addPreOperation() 공개 메소드

Add an operation that should be executed before this operation.
public addPreOperation ( variadic $operations )
$operations variadic

getControls() 공개 메소드

Get the controls set for the operation.
public getControls ( ) : LdapControl[]
리턴 LdapTools\Connection\LdapControl[]

getPostOperations() 공개 메소드

Get operations that should be executed after this operation.
public getPostOperations ( ) : LdapTools\Operation\LdapOperationInterface[]
리턴 LdapTools\Operation\LdapOperationInterface[]

getPreOperations() 공개 메소드

Get operations that should be executed before this operation.
public getPreOperations ( ) : LdapTools\Operation\LdapOperationInterface[]
리턴 LdapTools\Operation\LdapOperationInterface[]

getServer() 공개 메소드

Get the server that should be used for the operation.
public getServer ( ) : null | string
리턴 null | string

mergeLogDefaults() 보호된 메소드

Merges the log array with common log properties.
protected mergeLogDefaults ( array $log ) : array
$log array
리턴 array

setServer() 공개 메소드

Set the LDAP server that should be used for the operation.
public setServer ( string | null $server )
$server string | null

프로퍼티 상세

$controls 보호되어 있는 프로퍼티

protected LdapControl[],LdapTools\Connection $controls
리턴 LdapTools\Connection\LdapControl[]

$postOperations 보호되어 있는 프로퍼티

protected LdapOperationInterface[],LdapTools\Operation $postOperations
리턴 LdapTools\Operation\LdapOperationInterface[]

$preOperations 보호되어 있는 프로퍼티

protected LdapOperationInterface[],LdapTools\Operation $preOperations
리턴 LdapTools\Operation\LdapOperationInterface[]

$server 보호되어 있는 프로퍼티

protected null|string $server
리턴 null | string