PHP Класс LdapTools\Log\LogOperation

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

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

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

Открытые методы

Метод Описание
__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.

Описание методов

__construct() публичный Метод

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

getDomain() публичный Метод

Get the domain that this log operation pertains to.
public getDomain ( ) : string
Результат string

getError() публичный Метод

The error/exception message if the operation encountered issues.
public getError ( ) : null | string
Результат null | string

getOperation() публичный Метод

Get the LDAP operation represented for this log.
public getOperation ( ) : LdapTools\Operation\LdapOperationInterface
Результат LdapTools\Operation\LdapOperationInterface

getStartTime() публичный Метод

Get the time that the operation started.
public getStartTime ( ) : integer
Результат integer

getStopTime() публичный Метод

Get the time that the operation stopped.
public getStopTime ( ) : integer
Результат integer

setDomain() публичный Метод

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

setError() публичный Метод

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

setOperation() публичный Метод

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

start() публичный Метод

Signifies that the operation has started.
public start ( )

stop() публичный Метод

Signifies that the operation is over.
public stop ( )

Описание свойств

$domain защищенное свойство

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

$error защищенное свойство

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

$operation защищенное свойство

The operation type.
protected $operation

$start защищенное свойство

The start of the operation.
protected $start

$stop защищенное свойство

The end of the operation.
protected $stop