SEvent Class Reference
[Event Handling]

Represents a user-generated event to be handled. More...

Inheritance diagram for SEvent:

Inheritance graph
[legend]

List of all members.

Public Member Functions

 doc ()
 getAttributes ()
 getUniqueAttributes ()

Protected Attributes

 $action
 The numeric code of the action performed (from a class constant).
 $details
 An associated array of details about this event.
 $source
 The source of the action, usually represented as a user ID.
 $target
 The target of the action, usually represented as an object ID.
 $transaction
 The transaction ID, which cannot be used twice (makes events idempotent).


Detailed Description

Represents a user-generated event to be handled.

An instance of this class represents an event generated by the user of the application, most often through a POST request. The object extends SModel in case we want to store it in our project's database!

Author:
Jonathan Stuart-Moore <jwsm@shodor.org> (6/17/07)
Date:
5/4/07

updated 6/17/07

Definition at line 14 of file SEvent.php5.


Member Function Documentation

SEvent::doc (  ) 

For internal use only.

Reimplemented from SObject.

Definition at line 27 of file SEvent.php5.

SEvent::getAttributes (  ) 

For internal use only.

Reimplemented from SModel.

Definition at line 33 of file SEvent.php5.

SEvent::getUniqueAttributes (  ) 

For internal use only.

Reimplemented from SModel.

Definition at line 38 of file SEvent.php5.


The documentation for this class was generated from the following file:

Generated on Wed Nov 24 02:06:12 2010 for Common by  doxygen 1.5.6