Class controlling an application run
This class parses an application definition file and prepares to run the specified application. This class implements a Controller, but all of its functionality can be delegated to others.
An application definition file can provide application-level configuration, template bindings TemplateManager and so-called "run-sections". Each of these run-sections is an instruction what to do when a specified path is requested. Run-sections can also contain per-run-section configuration.
Located in /phpsatk-lib/global/org.eenterphace.sat.app.controller/application.controller.php (line 41)
Creates a new ApplicationController for a specific application
Loads the application definition file (application.xml in appdir), validates it (using sat.application.xsd) and adds the app-local module overlay if present.
Gets the Name of the running Application
Gets the path to the running application
Gets an instance of the application controller
Initializes the static instance of the Application controller
Runs the application
This function does the actual parsing of the application definition, selects the correct run-element to use, aggregates per application configuration to global, and calls the method passed through it. Checks whether the user has access to the application/path combination using a AuthorizationResourceApplication object.
Configuration is cached.
Documentation generated on Mon, 21 May 2007 10:34:38 +0200 by phpDocumentor 1.3.0RC5