Bric::App::Event - Exports simple functions for managing events.
$Revision: 1.7 $
$Date: 2002/01/06 04:40:35 $
use Bric::App::Event qw(:all);
log_event($name, $obj, $init);
commit_events();
NONE.
Dummy method to prevent wasting time trying to AUTOLOAD DESTROY.
Throws: NONE.
Side Effects: NONE.
Notes: NONE.
NONE.
Queues an event for logging. Pass in the following arguments:
The key name of the event to log. Required.
The object for which the event is being logged. Required.
The attribute values for this event. Required for those event types that require them. See Bric::Util::EventType and Bric::Util::Event for more information.
Throws: NONE.
Side Effects: NONE.
Notes: NONE.
Goes through the queue of events created by calls to log_event() and actually logs them to the database.
Throws: See Bric::Util::Event::new().
Side Effects: NONE.
Notes: NONE.
Deletes queue of events so that they won't be logged. Used to prevent event logging when an error has occurred and all changes have been rolled back.
Throws: NONE.
Side Effects: NONE.
Notes: NONE.
NONE.
NONE.
NONE.
NONE.
David Wheeler <david@wheeler.net>