/** * Constructor for the controller class. * * @param object $objEngine by reference from Engine * @param string $moduleName */ public function __construct(&$objEngine, $moduleName) { $this->controllerName = get_class($this); try { parent::__construct($objEngine, $moduleName); $version = $objEngine->version; $this->objLu = $objEngine->lu; $this->objLuAdmin = $objEngine->luAdmin; $this->eventDispatcher = $objEngine->eventDispatcher; $this->appid = $objEngine->appid; $this->footerStr = '<center>Powered by <a href="http://avoir.uwc.ac.za/">Chisimba</a> version ' . $version . "</center>"; } catch (customException $e) { echo customException::cleanUp($e); die; } }