Backend\Modules\Blog\Actions\Add::parse PHP Method

parse() protected method

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