Метод | Описание | |
---|---|---|
deleteLogs ( 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. | |
isAvailable ( IMP_Maillog_Message $msg, IMP_Maillog_Log_Base $log ) : boolean | Is this storage driver available for the given message/log type? | |
saveLog ( IMP_Maillog_Message $msg, IMP_Maillog_Log_Base $log ) : boolean | Store a log entry. |
abstract public deleteLogs ( IMP_Maillog_Messages | array $msgs ) | ||
$msgs | IMP_Maillog_Messages | array | Message objects (IMP_Maillog_Message objects). |
abstract public getChanges ( integer $ts ) : array | ||
$ts | integer | Timestamp. |
Результат | array | An array of messages (IMP_Maillog_Message objects) changed since the provided timestamp. |
abstract public isAvailable ( IMP_Maillog_Message $msg, IMP_Maillog_Log_Base $log ) : boolean | ||
$msg | IMP_Maillog_Message | A message object. |
$log | IMP_Maillog_Log_Base | Log entry. |
Результат | boolean | True if the storage driver can handle data for the given input. |