- Class name: Controller
- Namespace: JSMF
public mixed $view = null
- Visibility: public
\JSMF\Controller JSMF\Controller::factory(String $namespace, String $moduleName, String $controllerName)
delievers the instance of desired controller
- Visibility: public
- This method is static.
- $namespace String - <p>(the namespace that the controllers have. Autoloading must be done outside this class)</p>
- $moduleName String
- $controllerName String
mixed JSMF\Controller::__construct()
- Visibility: public
Void JSMF\Controller::setAction(String $action)
sets the action, will load the default template
- Visibility: public
- $action String
Mixed JSMF\Controller::callAction(Array $actionParams)
calls one action in the controller, loads the template etc
- Visibility: public
- $actionParams Array