the main class of the jelix core
this is the "chief orchestra" of the framework. Its goal is to load the configuration, to get the request parameters used to instancie the correspondant controllers and to run the right method.
Located in /core/jCoordinator.class.php (line 24)
Class | Description |
---|---|
jCmdlineCoordinator | The command line version of jCoordinator |
the selector of the current action
the current action name
the current error message
the current module name
the original action when there is an internal redirection to an action
different from the one corresponding to the request
plugin list
Error handler using a response object to return the error.
Replace the default PHP error handler.
Exception handler using a response object to return the error
Replace the default PHP Exception handler
says if the currently executed action is the original one
return the generic error message (errorMessage in the configuration).
Replaced the %code% pattern in the message by the current error code
gets a given coordinator plugin if registered
Handle an error event. Called by error handler and exception handler.
Says if the given coordinator plugin $name is enabled
main method : launch the execution of the action.
This method should be called in a entry point.
initialize the given request and some properties of the coordinator
It extracts information for the request to set the module name and the action name. It doesn't verify if the corresponding controller does exist or not. It enables also the error handler of Jelix, if needed. Does not call this method directly in entry points. Prefer to call process() instead (that will call setRequest). setRequest is mostly used for tests or specific contexts.
Documentation generated on Wed, 04 Jan 2017 22:52:53 +0100 by phpDocumentor 1.4.3