Inits and runs the applicaton
- Class name: Application
- Namespace: JSMF
const HOOK_PREOUTPUT = 1
Void JSMF\Application::run(String|\JSMF\index $defaultModule, String|\JSMF\index $defaultController, String|\JSMF\index $defaultAction)
inits and runs the application
- Visibility: public
- This method is static.
- $defaultModule String|JSMF\index
- $defaultController String|JSMF\index
- $defaultAction String|JSMF\index
Void JSMF\Application::addHookPreOutput(\JSMF\Function $callback)
add a hook function executed before the output is rendered for injecting template vars etc
- Visibility: public
- This method is static.
- $callback JSMF\Function - <p>callback</p>
\JSMF\Controller JSMF\Application::getController()
returns current controller instance
- Visibility: public
- This method is static.