for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Ubiquity\controllers;
use Ubiquity\utils\http\URequest;
abstract class ControllerBase extends Controller {
protected $headerView="@framework/main/vHeader.html";
protected $footerView="@framework/main/vFooter.html";
public function initialize() {
if (!URequest::isAjax()) {
$this->loadView($this->headerView);
}
public function finalize() {
$this->loadView($this->footerView);