Backend\Modules\Locale\Actions\Edit::parse PHP Method

parse() protected method

Parse the form
protected parse ( )
    protected function parse()
    {
        parent::parse();
        // prevent XSS
        $filter = \SpoonFilter::arrayMapRecursive('htmlspecialchars', $this->filter);
        // parse filter
        $this->tpl->assign($filter);
        $this->tpl->assign('filterQuery', $this->filterQuery);
        // assign id, name
        $this->tpl->assign('name', $this->record['name']);
        $this->tpl->assign('id', $this->record['id']);
    }