The RequestController object is a singleton controller for the entire request-act-respond cycle.
Basically, the WFRequestController bootstraps the request into a WFModuleInvocation, executes it, and displays the output.
It also has a top-level exception catcher for all uncaught exceptions and displays a friendly error message (or an informative one for development machines).
Located in /framework/WFRequestController.php (line 18)
WFObject | --WFRequestController
Get a reference to the shared WFRequestController object.
Get a reference to this WFRequestController's skin object.
Generate a "full" URL to the given module / page.
It is recommended to use this function to generate all URL's to pages in the application. Of course you may append some PATH_INFO or params afterwards.
Exception handler for the WFRequestController.
This is basically the uncaught exception handler for the request cycle. We want to have this in the request object because we want the result to be displayed within our skin system. This function will display the appropriate error page based on the deployment mode for this machine, then exit.
Run the web application for the current request.
NOTE: Both a module and page must be specified in the URL. If they are not BOTH specified, the server will REDIRECT the request to the full URL. Therefore, you should be sure that when posting form data to a module/page, you use a full path. WFRequestController::WFURL
Will pass control onto the current module for processing.
Create a WFModuleInvocation based on the current HTTP Request, get the results, and output the completed web page.
Is the current request an XHR (XmlHTTPRequest)?
Get the root WFModuleInvocation used by the request controller.
Inherited From WFObject
WFObject::__construct()
WFObject::exposedProperties()
WFObject::getClass()
WFObject::keyPathToTargetAndKey()
WFObject::setValueForKey()
WFObject::setValueForKeyPath()
WFObject::validateValueForKey()
WFObject::validateValueForKeyPath()
WFObject::valueForKey()
WFObject::valueForKeyPath()
WFObject::valueForUndefinedKey()
WFObject::__toString()
Documentation generated on Thu, 07 Aug 2008 10:36:58 -0400 by phpDocumentor 1.4.1