$echo_on_destruct
$echo_on_destruct : boolean
Whether to echo contents on object destruct
The home controller
echoOnDestruct(boolean|null $switch = null) : boolean|\Alo\Controller\AbstractController
Returns if echoOnDestruct is true or false if called without a parameter or sets it to true/false if the parameter is set
boolean|null | $switch | The parameter |
loadView(string $name, array $params = array(), boolean $return = false) : null|string
Loads a view
string | $name | The name of the view without ".php". |
array | $params | Associative array of parameters to pass on to the view |
boolean | $return | If set to TRUE, will return the view, if FALSE, will echo it |