PHP Class IMP_Maillog_Storage_History, horde

Author: Michael Slusarz ([email protected])
Inheritance: extends IMP_Maillog_Storage_Base
Afficher le fichier Open project: horde/horde

Méthodes publiques

Свойство Type Description
$drivers array Mapping of driver actions -> class names.

Protected Properties

Свойство Type Description
$_history Horde_History History object.
$_user string User name.

Méthodes publiques

Méthode 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 )

Méthodes protégées

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

Method Details

__construct() public méthode

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

_getUniqueHistoryId() protected méthode

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.
Résultat string The unique log ID.

deleteLogs() public méthode

public deleteLogs ( $msgs )

getChanges() public méthode

public getChanges ( $ts )

getLog() public méthode

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

isAvailable() public méthode

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

saveLog() public méthode

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
Résultat Horde_History

$_user protected_oe property

User name.
protected string $_user
Résultat string

$drivers public_oe static_oe property

Mapping of driver actions -> class names.
public static array $drivers
Résultat array