public function init() { $this->ui = new SwatUI(); $this->ui->mapClassPrefixToPath('Pinhole', 'Pinhole'); $this->ui->loadFromXML($this->ui_xml); $this->initSearchForm(); $this->initTagList(); $this->ui->init(); }