17 protected string $headerView =
'@activeTheme/main/vHeader.html';
18 protected string $footerView =
'@activeTheme/main/vFooter.html';
21 if (! URequest::isAjax ()) {
22 $this->
loadView ( $this->headerView );
27 if (! URequest::isAjax ()) {
28 $this->
loadView ( $this->footerView );
Default controller used in a new project.
initialize()
Method called before each action Can be override in derived class.
finalize()
Method called after each action Can be override in derived class.
Base class for controllers.
loadView(string $viewName, $pData=null, bool $asString=false)
Loads the view $viewName possibly passing the variables $pdata.
Http Request utilities, wrapper for accessing to $_GET, $_POST and php://input.