Public Member Functions | |
doc () | |
Return a documentation string about this class. | |
getSWAT () | |
Get the global SWAT object. | |
handleEvents () | |
Create and handle events implicit in the POST data. | |
setEventHandler ($eh) | |
Set the event handler to be used with this object. | |
setSWAT ($swat) | |
Set our link to the SWAT object. | |
Protected Attributes | |
$eventHandler | |
The event handler to be used to handle POST events. | |
$swat | |
A link to the global SWAT object. |
Create SEvent object(s) from the user's POST data. Then call on an event handler (either a custom event handler that has been set on the object, or a new instance of SEventHandler) to handle the event objects.
updated 7/2/07
SPOSTEventHandler::getSWAT | ( | ) |
Get the global SWAT object.
SPOSTEventHandler::handleEvents | ( | ) |
Create and handle events implicit in the POST data.
Do the POST event handling! This function first generates an event object(s) from the POST input, then calls the class event handler on the event(s) using the callEventHandler() function.
SPOSTEventHandler::setEventHandler | ( | $ | eh | ) |
Set the event handler to be used with this object.
Store an instance or subclass instance of SEventHandler to be used to handle POST events generated by this class when handleEvents() is called.
$eh | [SEventHandler]: An instance or subclass instance of SEventHandler |
SPOSTEventHandler::setSWAT | ( | $ | swat | ) |
Set our link to the SWAT object.
$swat | [SWAT]: The global SWAT object |