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

parse() protected method

Parse the form
protected parse ( )
    protected function parse()
    {
        parent::parse();
        // get url
        $url = BackendModel::getURLForBlock($this->URL->getModule(), 'Detail');
        $url404 = BackendModel::getURL(404);
        if ($url404 != $url) {
            $this->tpl->assign('detailURL', SITE_URL . $url);
        }
        // assign the active record and additional variables
        $this->tpl->assign('item', $this->record);
        $this->tpl->assign('feedback', $this->feedback);
    }