public function init() { parent::init(); $this->ui = new SwatUI(); $this->ui->loadFromXML($this->ui_xml); $form = $this->ui->getWidget('login_form'); $form->action = $this->app->getBaseHref(true) . 'login'; $this->ui->init(); }
public function init() { parent::init(); $this->initComments($this->getArgument('page')); }