protected function getInput() { $id = (int) $this->form->getValue('id'); $activeTags = array(); if ((int) $id > 0) { $activeTags = PhocaDownloadTag::getTags($id, 1); } return PhocaDownloadTag::getAllTagsSelectBox($this->name, $this->id, $activeTags, NULL, 'id'); }