protected function parse() { $this->parseFields(); parent::parse(); $this->tpl->assign('id', $this->record['id']); $this->tpl->assign('name', $this->record['name']); // parse error messages $this->parseErrorMessages(); }