Horde_Core_History
extends Horde_History
in package
Decorate the base Horde_History class to allow the username to be reset if the authenticated status changes after the history object has been initialized.
Tags
Table of Contents
Properties
- $_history : Horde_History
Methods
- __construct() : mixed
- Const'r
- _getByTimestamp() : mixed
- _getHistory() : mixed
- getActionModSeq() : mixed
- getActionTimestamp() : mixed
- getByModSeq() : mixed
- getByTimestamp() : mixed
- getHighestModSeq() : int
- Return the maximum modification sequence. To be overridden in concrete class.
- getHistory() : mixed
- getLatestEntry() : mixed
- log() : mixed
- removeByNames() : mixed
- removeByParent() : mixed
- setCache() : mixed
- Set Cache object.
- setLogger() : mixed
- _log() : mixed
Properties
$_history
protected
Horde_History
$_history
Methods
__construct()
Const'r
public
__construct(Horde_History $history) : mixed
Parameters
- $history : Horde_History
-
The actual history object.
_getByTimestamp()
public
_getByTimestamp(mixed $cmp, mixed $ts[, array<string|int, mixed> $filters = array() ][, mixed $parent = null ]) : mixed
Parameters
- $cmp : mixed
- $ts : mixed
- $filters : array<string|int, mixed> = array()
- $parent : mixed = null
_getHistory()
public
_getHistory(mixed $guid) : mixed
Parameters
- $guid : mixed
getActionModSeq()
public
getActionModSeq(mixed $guid, mixed $action) : mixed
Parameters
- $guid : mixed
- $action : mixed
Tags
getActionTimestamp()
public
getActionTimestamp(mixed $guid, mixed $action) : mixed
Parameters
- $guid : mixed
- $action : mixed
Tags
getByModSeq()
public
getByModSeq(mixed $start, mixed $end[, mixed $filters = array() ][, mixed $parent = null ]) : mixed
Parameters
- $start : mixed
- $end : mixed
- $filters : mixed = array()
- $parent : mixed = null
Tags
getByTimestamp()
public
getByTimestamp(mixed $cmp, mixed $ts[, array<string|int, mixed> $filters = array() ][, mixed $parent = null ]) : mixed
Parameters
- $cmp : mixed
- $ts : mixed
- $filters : array<string|int, mixed> = array()
- $parent : mixed = null
Tags
getHighestModSeq()
Return the maximum modification sequence. To be overridden in concrete class.
public
getHighestModSeq([string $parent = null ]) : int
Parameters
- $parent : string = null
-
Restrict to entries a specific parent.
Return values
int —The modseq
getHistory()
public
getHistory(mixed $guid) : mixed
Parameters
- $guid : mixed
Tags
getLatestEntry()
public
getLatestEntry(mixed $guid[, mixed $use_ts = false ]) : mixed
Parameters
- $guid : mixed
- $use_ts : mixed = false
Tags
log()
public
log(mixed $guid[, array<string|int, mixed> $attributes = array() ][, mixed $replaceAction = false ]) : mixed
Parameters
- $guid : mixed
- $attributes : array<string|int, mixed> = array()
- $replaceAction : mixed = false
Tags
removeByNames()
public
removeByNames(array<string|int, mixed> $names) : mixed
Parameters
- $names : array<string|int, mixed>
Tags
removeByParent()
public
removeByParent(mixed $parent) : mixed
Parameters
- $parent : mixed
Tags
setCache()
Set Cache object.
public
setCache(Horde_Cache $cache) : mixed
Parameters
- $cache : Horde_Cache
-
The cache instance.
setLogger()
public
setLogger(Horde_Log_Logger $logger) : mixed
Parameters
- $logger : Horde_Log_Logger
Tags
_log()
protected
_log(Horde_History_Log $history, array<string|int, mixed> $attributes[, mixed $replaceAction = false ]) : mixed
Parameters
- $history : Horde_History_Log
- $attributes : array<string|int, mixed>
- $replaceAction : mixed = false