\Horde_Core_History

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.

Summary

Methods
Properties
Constants
__construct()
setLogger()
setCache()
log()
getHistory()
getByTimestamp()
getByModSeq()
removeByNames()
getActionTimestamp()
removeByParent()
getActionModSeq()
getLatestEntry()
getHighestModSeq()
_getByTimestamp()
_getHistory()
No public properties found
No constants found
_log()
$_history
N/A
No private methods found
No private properties found
N/A

Properties

$_history

$_history : \Horde_History

Type

\Horde_History

Methods

__construct()

__construct(\Horde_History  $history) 

Const'r

Parameters

\Horde_History $history

The actual history object.

setLogger()

setLogger(\Horde_Log_Logger  $logger) 

Parameters

\Horde_Log_Logger $logger

setCache()

setCache(\Horde_Cache  $cache) 

Set Cache object.

Parameters

\Horde_Cache $cache

The cache instance.

log()

log(  $guid, array  $attributes = array(),   $replaceAction = false) 

Parameters

$guid
array $attributes
$replaceAction

getHistory()

getHistory(  $guid) 

Parameters

$guid

getByTimestamp()

getByTimestamp(  $cmp,   $ts, array  $filters = array(),   $parent = null) 

Parameters

$cmp
$ts
array $filters
$parent

getByModSeq()

getByModSeq(  $start,   $end,   $filters = array(),   $parent = null) 

Parameters

$start
$end
$filters
$parent

removeByNames()

removeByNames(array  $names) 

Parameters

array $names

getActionTimestamp()

getActionTimestamp(  $guid,   $action) 

Parameters

$guid
$action

removeByParent()

removeByParent(  $parent) 

Parameters

$parent

getActionModSeq()

getActionModSeq(  $guid,   $action) 

Parameters

$guid
$action

getLatestEntry()

getLatestEntry(  $guid,   $use_ts = false) 

Parameters

$guid
$use_ts

getHighestModSeq()

getHighestModSeq(string  $parent = null) : integer

Return the maximum modification sequence. To be overridden in concrete class.

Parameters

string $parent

Restrict to entries a specific parent.

Returns

integer —

The modseq

_getByTimestamp()

_getByTimestamp(  $cmp,   $ts, array  $filters = array(),   $parent = null) 

Parameters

$cmp
$ts
array $filters
$parent

_getHistory()

_getHistory(  $guid) 

Parameters

$guid

_log()

_log(\Horde_History_Log  $history, array  $attributes,   $replaceAction = false) 

Parameters

\Horde_History_Log $history
array $attributes
$replaceAction