protected function parse() { parent::parse(); if ($this->frm) { $this->frm->parse($this->tpl); } }
/** * Parse the form */ protected function parse() { parent::parse(); // prevent XSS $filter = \SpoonFilter::arrayMapRecursive('htmlspecialchars', $this->filter); $this->tpl->assign($filter); }