protected function parse() { parent::parse(); // assign id, term $this->tpl->assign('id', $this->record['id']); $this->tpl->assign('term', $this->record['term']); }