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