protected function __build() { parent::__build(isset($this->_params['version']) ? $this->_params['version'] : Symphony::Configuration()->get('version', 'symphony')); // Add Release Notes for the latest migration if (isset($this->_params['release-notes'])) { $h1 = end($this->Form->getChildrenByName('h1')); if ($h1 instanceof XMLElement) { $h1->appendChild(new XMLElement('em', Widget::Anchor(__('Release Notes'), $this->_params['release-notes']))); } } }
protected static function __render(InstallerPage $page) { $output = $page->generate(); header('Content-Type: text/html; charset=utf-8'); echo $output; exit; }