Class MachII_framework_RequestHandler

Description

Handles request to event conversion.

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


	
			
Variable Summary
Method Summary
MachII_framework_RequestHandler MachII_framework_RequestHandler (MachII_framework_AppManager &$appManager)
void handleEventRequest (mixed $eventName, [mixed $eventArgs = array()])
void handleRequest ()
string _getEventName (array $eventArgs)
Variables
MachII_framework_AppManager $_appManager (line 17)
  • private:
Methods
Constructor MachII_framework_RequestHandler (line 23)
MachII_framework_RequestHandler MachII_framework_RequestHandler (MachII_framework_AppManager &$appManager)
handleEventRequest (line 54)

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 206)
  • access: private
MachII_framework_AppManager &_getAppManager ()
_getEventName (line 94)
  • access: private
string _getEventName (array $eventArgs)
  • array $eventArgs: associative array of event arguments.
_getRequestEventArgs (line 116)

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

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

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 197)
  • access: private
void _setAppManager (MachII_framework_AppManager &$appManager)

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