Property | Type | Description | |
---|---|---|---|
$storage | IMP_Maillog_Storage_Base | Storage driver. |
Method | Description | |
---|---|---|
__construct ( IMP_Maillog_Storage_Base $storage ) | Constructor. | |
deleteLog ( IMP_Maillog_Messages | array $msgs ) | Delete log entries. | |
getChanges ( integer $ts ) : array | Retrieve changes to the maillog since the provided timestamp. | |
getLog ( IMP_Maillog_Message $msg, array $types = [] ) : array | Retrieve history for a message. | |
log ( mixed $msgs, IMP_Maillog_Log_Base $log ) | Create a log entry. |
public __construct ( IMP_Maillog_Storage_Base $storage ) | ||
$storage | IMP_Maillog_Storage_Base | Storage driver. |
public getChanges ( integer $ts ) : array | ||
$ts | integer | Timestamp. |
return | array | An array of messages (IMP_Maillog_Message objects) changed since the provided timestamp. |