Class MachII_framework_RequestHandler

Description

Handles request to event conversion.

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


	
			
Method Summary
MachII_framework_RequestHandler __construct (MachII_framework_AppManager $appManager)
void handleEventRequest (mixed $eventName, [mixed &$eventArgs = array()])
void handleRequest ()
string _getEventName (array $eventArgs)
void _setAppManager (MachII_framework_AppManager $appManager)
Methods
Constructor __construct (line 23)
MachII_framework_RequestHandler __construct (MachII_framework_AppManager $appManager)
handleEventRequest (line 51)

Handles the incoming event request.

Will announce the event and start event processing.

void handleEventRequest (mixed $eventName, [mixed &$eventArgs = array()])
handleRequest (line 34)

Entry point for handling an incoming request.

void handleRequest ()
_getAppManager (line 195)
  • access: private
MachII_framework_AppManager _getAppManager ()
_getEventName (line 85)
  • access: private
string _getEventName (array $eventArgs)
  • array $eventArgs: associative array of event arguments.
_getRequestEventArgs (line 106)

Merges global arrays into an associative array according to the configured "parameterPrecedence".

  • return: asociative array of event arguments
  • access: private
array &_getRequestEventArgs ()
_getRequestEventVariablesOrder (line 153)

The order that global arrays should be merged into event arguments.

Translates the value set by the configuration parameter "parameterPrecedence" into a string where a letter corresponds to the global array. g = _GET (url) p = _POST (form)

  • return: default "gp"
  • access: private
string _getRequestEventVariablesOrder ()
_setAppManager (line 186)
  • access: private
void _setAppManager (MachII_framework_AppManager $appManager)

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