PHP Class IMP_Maillog_Storage_History, horde

Author: Michael Slusarz ([email protected])
Inheritance: extends IMP_Maillog_Storage_Base
Mostrar archivo Open project: horde/horde

Public Properties

Property Type Description
$drivers array Mapping of driver actions -> class names.

Protected Properties

Property Type Description
$_history Horde_History History object.
$_user string User name.

Public Methods

Method Description
__construct ( Horde_History $history, string $user ) Constructor.
deleteLogs ( $msgs )
getChanges ( $ts )
getLog ( IMP_Maillog_Message $msg, array $types = [] )
isAvailable ( IMP_Maillog_Message $msg, IMP_Maillog_Log_Base $log )
saveLog ( IMP_Maillog_Message $msg, IMP_Maillog_Log_Base $log )

Protected Methods

Method Description
_getUniqueHistoryId ( mixed $msg = null ) : string Generate the unique log ID for an event.

Method Details

__construct() public method

Constructor.
public __construct ( Horde_History $history, string $user )
$history Horde_History History object.
$user string User name.

_getUniqueHistoryId() protected method

Generate the unique log ID for an event.
protected _getUniqueHistoryId ( mixed $msg = null ) : string
$msg mixed An IMP_Maillog_Message object, a Message-ID, or, if null, return the parent ID.
return string The unique log ID.

deleteLogs() public method

public deleteLogs ( $msgs )

getChanges() public method

public getChanges ( $ts )

getLog() public method

public getLog ( IMP_Maillog_Message $msg, array $types = [] )
$msg IMP_Maillog_Message
$types array

isAvailable() public method

public isAvailable ( IMP_Maillog_Message $msg, IMP_Maillog_Log_Base $log )
$msg IMP_Maillog_Message
$log IMP_Maillog_Log_Base

saveLog() public method

public saveLog ( IMP_Maillog_Message $msg, IMP_Maillog_Log_Base $log )
$msg IMP_Maillog_Message
$log IMP_Maillog_Log_Base

Property Details

$_history protected_oe property

History object.
protected Horde_History $_history
return Horde_History

$_user protected_oe property

User name.
protected string $_user
return string

$drivers public_oe static_oe property

Mapping of driver actions -> class names.
public static array $drivers
return array