function render() { $this->loadSiteProperties(); if (is_object($this->customTemplate)) { $this->customTemplate->render($this->_application, $this, $this->templateData); } return parent::render(); }