PHP Class LdapTools\Log\LogOperation

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

Protected Properties

Свойство Type Description
$domain The domain name that the log operation pertains to.
$error The error/exception message if issues were encountered during the operation.
$operation The operation type.
$start The start of the operation.
$stop The end of the operation.

Méthodes publiques

Méthode Description
__construct ( LdapTools\Operation\LdapOperationInterface $operation )
getDomain ( ) : string Get the domain that this log operation pertains to.
getError ( ) : null | string The error/exception message if the operation encountered issues.
getOperation ( ) : LdapTools\Operation\LdapOperationInterface Get the LDAP operation represented for this log.
getStartTime ( ) : integer Get the time that the operation started.
getStopTime ( ) : integer Get the time that the operation stopped.
setDomain ( string $domain ) Set the domain name that this log operation pertains to.
setError ( string $error ) Set the error/exception message if issues were encountered during the LDAP operation.
setOperation ( LdapTools\Operation\LdapOperationInterface $operation ) Set the LDAP operation represented for this log.
start ( ) Signifies that the operation has started.
stop ( ) Signifies that the operation is over.

Method Details

__construct() public méthode

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

getDomain() public méthode

Get the domain that this log operation pertains to.
public getDomain ( ) : string
Résultat string

getError() public méthode

The error/exception message if the operation encountered issues.
public getError ( ) : null | string
Résultat null | string

getOperation() public méthode

Get the LDAP operation represented for this log.
public getOperation ( ) : LdapTools\Operation\LdapOperationInterface
Résultat LdapTools\Operation\LdapOperationInterface

getStartTime() public méthode

Get the time that the operation started.
public getStartTime ( ) : integer
Résultat integer

getStopTime() public méthode

Get the time that the operation stopped.
public getStopTime ( ) : integer
Résultat integer

setDomain() public méthode

Set the domain name that this log operation pertains to.
public setDomain ( string $domain )
$domain string

setError() public méthode

Set the error/exception message if issues were encountered during the LDAP operation.
public setError ( string $error )
$error string

setOperation() public méthode

Set the LDAP operation represented for this log.
public setOperation ( LdapTools\Operation\LdapOperationInterface $operation )
$operation LdapTools\Operation\LdapOperationInterface

start() public méthode

Signifies that the operation has started.
public start ( )

stop() public méthode

Signifies that the operation is over.
public stop ( )

Property Details

$domain protected_oe property

The domain name that the log operation pertains to.
protected $domain

$error protected_oe property

The error/exception message if issues were encountered during the operation.
protected $error

$operation protected_oe property

The operation type.
protected $operation

$start protected_oe property

The start of the operation.
protected $start

$stop protected_oe property

The end of the operation.
protected $stop