The History:: class provides a method of tracking changes in Horde objects, stored in a SQL table.
$Horde: framework/History/History.php,v 1.28.2.25 2010-11-08 16:17:28 jan Exp $
Copyright 2003-2009 The Horde Project (http://www.horde.org/)
See the enclosed file COPYING for license information (LGPL). If you did not receive this file, see http://www.fsf.org/copyleft/lgpl.html.
Located in /History/History.php (line 17)
Constructor.
Gets the timestamp of the most recent change to $guid.
Finds history objects by timestamp, and optionally filter on other fields as well.
'op' - the operator to compare this field with. 'field' - the history field being compared (i.e. 'action'). 'value' - the value to check for (i.e. 'add').
Returns a HistoryObject corresponding to the named history entry, with the data retrieved appropriately. $autocreate has no affect.
Logs an event to an item's history log. The item must be uniquely identified by $guid. Any other details about the event are passed in $attributes. Standard suggested attributes are:
'who' => The id of the user that performed the action (will be added automatically if not present).
'ts' => Timestamp of the action (this will be added automatically if it is not present).
Remove one or more history entries by name.
Attempts to return a reference to a concrete History instance.
It will only create a new instance if no History instance currently exists.
This method must be invoked as: $var = &History::singleton()
Documentation generated on Sun, 30 Jan 2011 05:17:59 +0000 by phpDocumentor 1.4.3