Class MachII_framework_EventHandler

Description

Handles processing of EventCommands for an Event.

Located in /MachII/framework/EventHandler.php (line 11)


	
			
Variable Summary
integer $_access
array $_commands
Method Summary
integer getAccess ()
void setAccess (integer $access)
Variables
integer $_access = MACHII_EVENT_ACCESS_PUBLIC (line 25)

Event access.

If access is public it can be executed by a user; if private it can only be executed internally. Defaults to public.

array $_commands (line 17)
  • var: of MachII_framework_EventCommand descendents
  • access: private
Methods
addCommand (line 50)

Adds an event command to the event's command queue.

void addCommand (MachII_framework_EventCommand &$command)
getAccess (line 68)
integer getAccess ()
handleEvent (line 32)

Executes the event's commands.

void handleEvent (MachII_framework_Event &$event, MachII_framework_EventContext &$eventContext)
setAccess (line 59)
void setAccess (integer $access)
  • integer $access: set by a constant

Documentation generated on Thu, 20 Jan 2005 10:46:59 -0800 by phpDocumentor 1.3.0RC3