Backend\Modules\Extensions\Actions\DetailTheme::parse PHP Метод

parse() защищенный Метод

Parse.
protected parse ( )
    protected function parse()
    {
        parent::parse();
        // assign theme data
        $this->tpl->assign('name', $this->currentTheme);
        $this->tpl->assign('warnings', $this->warnings);
        $this->tpl->assign('information', $this->information);
        $this->tpl->assign('showInstallButton', !BackendExtensionsModel::isThemeInstalled($this->currentTheme) && BackendAuthentication::isAllowedAction('InstallTheme'));
        // data grids
        $this->tpl->assign('dataGridTemplates', isset($this->dataGridTemplates) && $this->dataGridTemplates->getNumResults() > 0 ? $this->dataGridTemplates->getContent() : false);
    }