Class MachII_framework_EventManager

Description

Manages registered EventHandlers for the framework.

Located in /MachII/framework/EventManager.php (line 35)


	
			
Variable Summary
Method Summary
void configure ()
MachII_framework_Event &createEvent (string $eventName, array &$eventArgs, [string $eventType = 'MachII.framework.Event'])
void init (array $config, MachII_framework_AppManager &$appManager)
boolean isEventDefined (string $eventName)
boolean isEventPublic (string $eventName)
void &_createEventCommand (string $command)
Variables
MachII_framework_AppManager $_appManager (line 41)
  • access: private
MachII_framework_FilterManager $_filterMgr (line 59)
  • var: temporary
  • access: private
array $_handlers = array() (line 47)
  • var: associative array of event handlers
  • access: private
MachII_framework_ListenerManager $_listenerMgr (line 53)
  • var: temporary
  • access: private
Methods
configure (line 97)
  • internal: doesn't do anything at this time
void configure ()
createEvent (line 106)
  • return: or descendent
  • throws: MachII_util_EventHandlerNotDefinedException
MachII_framework_Event &createEvent (string $eventName, array &$eventArgs, [string $eventType = 'MachII.framework.Event'])
  • string $eventName
  • array &$eventArgs: associative array of event arguments
  • string $eventType
getAppManager (line 180)
MachII_framework_AppManager &getAppManager ()
getEventHandler (line 133)
  • throws: MachII_util_EventHandlerNotDefinedException
MachII_framework_EventHandler &getEventHandler (string $eventName)
  • string $eventName
init (line 66)
void init (array $config, MachII_framework_AppManager &$appManager)
isEventDefined (line 150)
boolean isEventDefined (string $eventName)
  • string $eventName
isEventPublic (line 161)
boolean isEventPublic (string $eventName)
  • string $eventName
setAppManager (line 172)
void setAppManager (MachII_framework_AppManager &$appManager)
_createEventCommand (line 190)

Creates the appropriate event command from a raw event configuration.

  • access: private
void &_createEventCommand (string $command)
  • string $command: MachII_framework_EventCommand type

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