class Controller
This class serves as a single entry point for handling all requests in the system. The front controller is responsible for delegating processes to various handlers while minimizing the coupling among these components by implementing flexible request handling mechanisms, and managing the choice of the next view to present to the end user.
Located in /controller.class.php (line 22)
Exception | --PException | --Controller
Class | Description |
---|---|
Client | class Client |
function Dispatch
This method is responsible for view management and navigation. The dispatcher provides a dynamic dispatching mechanism to manager the choice of the next view to present to the end user.
function GetInstance
This method instantiates a new object from this class; more specifically, it's a singleton instance.
function ProcessRequest
This method initiates a session to preserve specific information across subsequent requests; adds or strips slashes from the HTTP GET or HTTP POST information; executes customized operations; and transfers the modified Request object to the Dispatch method along with the name of the view to present to the end user.
Inherited From PException
PException::Display()
Documentation generated on Thu, 9 Sep 2004 09:03:33 -0400 by phpDocumentor 1.3.0RC3