PHP Interface LdapTools\Operation\LdapOperationInterface

Author: Chad Sikorra ([email protected])
Afficher le fichier Open project: ldaptools/ldaptools Interface Usage Examples

Méthodes publiques

Méthode Description
addControl ( variadic $controls ) Add LDAP controls to the operation.
addPostOperation ( variadic $operation ) Add an operation that should be executed after this operation.
addPreOperation ( variadic $operation ) Add an operation that should be executed before this operation.
getArguments ( ) : array Gets an array of arguments that will be passed to the LDAP function for executing this operation.
getControls ( ) : LdapControl[] Get the controls set for the operation.
getLdapFunction ( ) : string Gets the name of the LDAP function needed to execute this operation.
getLogArray ( ) : array Get an array of keys/values related to the operation. This allows for ease of use within a logger.
getName ( ) : string Get the readable name that this operation represents. This is to be used in messages/exceptions.
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.

Method Details

addControl() public méthode

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

addPostOperation() public méthode

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

addPreOperation() public méthode

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

getArguments() public méthode

Gets an array of arguments that will be passed to the LDAP function for executing this operation.
public getArguments ( ) : array
Résultat array

getControls() public méthode

Get the controls set for the operation.
public getControls ( ) : LdapControl[]
Résultat LdapTools\Connection\LdapControl[]

getLdapFunction() public méthode

Gets the name of the LDAP function needed to execute this operation.
public getLdapFunction ( ) : string
Résultat string

getLogArray() public méthode

Get an array of keys/values related to the operation. This allows for ease of use within a logger.
public getLogArray ( ) : array
Résultat array

getName() public méthode

Get the readable name that this operation represents. This is to be used in messages/exceptions.
public getName ( ) : string
Résultat string

getPostOperations() public méthode

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

getPreOperations() public méthode

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

getServer() public méthode

Get the server that should be used for the operation.
public getServer ( ) : null | string
Résultat null | string

setServer() public méthode

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