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