PHP Трейт LdapTools\Operation\LdapOperationTrait

Автор: Chad Sikorra ([email protected])
Показать файл Открыть проект

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

Свойство Тип Описание
$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