Render view block.

@return string
13749
public function render()
    {
        $block = $this->config('viewBlockName');

        foreach ((array)$this->config('tags') as $namespace => $values) {
            foreach ($values as $tag => $content) {
                $property = "$namespace:$tag";

                if (!is_array($content)) {
                    $this->Html->meta(null, null, compact('property', 'content', 'block'));
                    continue;
                }

                $options = array_pop($content);
                $content = array_shift($content);

                $this->Html->meta(null, null, compact('property', 'content', 'block'));

                foreach ($options as $key => $value) {
                    if (!is_array($value)) {
                        $this->Html->meta(null, null, [
                            'property' => "$property:$key",
                            'content' => $value,
                            'block' => $block
                        ]);
                        continue;
                    }

                    foreach ($value as $content) {
                        $this->Html->meta(null, null, [
                            'property' => "$property:$key",
                            'content' => $content,
                            'block' => $block
                        ]);
                    }
                }
            }
        }

        return $this->_View->fetch($block);
    }
1310415
public function render()
    {
        $file = $this->translate($this->template);

        if (!is_file($file)) {
            throw new ViewException(sprintf('Unable to load template file "%s" (%s)', $this->template, $file));
        }

        ob_start();
        extract($this->storage);
        require $file;

        return ob_get_clean();
    }
1198277
public function render()
    {
        $this->moveChildrenToMainSection();
        $this->getTemplate()
            ->mergeData($this->getData())
            ->mergeData(['layout' => $this]);
        return parent::render();
    }
1154495
public function render()
    {
        $renderer = $this->rendererRegistry->getRenderer($this->rendererName);
        foreach ($this->themes as $theme) {
            $renderer->setBlockTheme($theme[0], $theme[1]);
        }
        $renderer->setFormTheme($this->formThemes);

        return $renderer->renderBlock($this->view);
    }
858284
public function render()
    {
        $variables = [
            'items' => $this->items,
            'title' => $this->title,
            'attributes' => $this->formatAttributes(),
        ];

        return view($this->view, $variables)->render();
    }
182158
protected function render ()
  {
    $prop          = $this->props;
    $content       = exists ($prop->value) ? $prop->value : $this->getChildren ();
    $blocksService = $this->context->getBlocksService ();

    if ($prop->preRender && is_array ($content))
      $content = $this->attachSetAndGetContent ($content);

    if (exists ($name = $prop->of)) {
      if (!preg_match ('/^\w+$/', $name))
        throw new ComponentException($this, "Invalid block name: <kbd>$name</kbd>");
      if ($prop->byDefault && $blocksService->hasBlock ($name))
        return;
      $blocksService->getBlock ($name)->set ($content);
    }
    elseif (exists ($name = $prop->appendTo)) {
      if ($prop->byDefault && $blocksService->hasBlock ($name))
        return;
      $blocksService->getBlock ($name)->append ($content);
    }
    elseif (exists ($name = $prop->prependTo)) {
      if ($prop->byDefault && $blocksService->hasBlock ($name))
        return;
      $blocksService->getBlock ($name)->prepend ($content);
    }
    else throw new ComponentException($this,
      "One of these properties must be set:<p><kbd>of | appendTo | prependTo</kbd>");
  }
1040730
public function render()
    {
        $items = [
            'header'      => $this->header,
            'description' => $this->description,
            'breadcrumb'  => $this->breadcrumb,
            'content'     => $this->build(),
        ];

        return view('merchant::content', $items)->render();
    }
1353405
public function render()
    {
        if (!$this->enableDelete) {
            $this->actions->shift();
        }

        if ($this->actions->isEmpty()) {
            return '';
        }

        $this->setUpScripts();

        $data = [
            'actions'                 => $this->actions,
            'selectAllName'           => $this->grid->getSelectAllName(),
            'isHoldSelectAllCheckbox' => $this->isHoldSelectAllCheckbox,
        ];

        return view('admin::grid.batch-actions', $data)->render();
    }
922073
protected function renderView(): string
    {
        $viewFile = $this->pathViews . '/' . $this->view . '.phtml';
        if (!file_exists($viewFile)) {
            throw new TemplatingException(sprintf('View file not found. (%s)', $viewFile));
        }
        $viewContent = file_get_contents($viewFile);
        if (preg_match('/<!-- extends "(.+)" -->/Usi', $viewContent, $matches) === 1) {
            $this->setLayout($matches[1]);
        }

        return $this->renderFile($viewFile);
    }
405823
public function render()
    {
        // specify a view to render.
        $this->view = $this->views[$this->viewMode];

        list($template, $script) = $this->buildNestedForm($this->column, $this->builder)
            ->getTemplateHtmlAndScript();

        $this->setupScript($script);

        return parent::render()->with([
            'forms' => $this->buildRelatedForms(),
            'template' => $template,
            'relationName' => $this->relationName,
        ]);
    }
1320639
public function renderBlock(array $context, Block $block, array $parameters = [], ?string $viewContext = null): string
    {
        try {
            return $this->renderer->renderValue(
                $block,
                $this->getViewContext($context, $viewContext),
                [
                    'twig_template' => $context['twig_template'] ?? null,
                ] + $parameters
            );
        } catch (Throwable $t) {
            $message = sprintf('Error rendering a block with ID "%s"', $block->getId());

            $this->errorHandler->handleError($t, $message);
        }

        return '';
    }
269732
public function render()
    {
        parent::render();

        // passing display type back to view
        $this->_aViewData["displaytype"] = \OxidEsales\Eshop\Core\Registry::getConfig()->getRequestParameter("displaytype");

        return $this->_sThisTemplate;
    }
1210023
public function render()
    {
        $this->is_rendered = true;
        return View::make(
            $this->getTemplate(),
            $this->getViewData()
        )->render();
    }
1209849
public function renderView()
    {
        if ($this->class) {
            $this->template->append('class', implode(' ', $this->class));
        }

        if ($this->style) {
            $style = $this->style;
            array_walk(
                $style,
                function (&$item, $key) {
                    $item = $key.':'.$item;
                }
            );
            $this->template->append('style', implode(';', $style));
        }

        if ($this->ui) {
            if (is_string($this->ui)) {
                $this->template->set('_class', $this->ui);
            }
        } else {
            $this->template->tryDel('_ui');
        }

        if ($this->id) {
            $this->template->trySet('_id', $this->id);
        }

        if ($this->element) {
            $this->template->set('_element', $this->element);
        }

        if ($this->attr) {
            $tmp = [];
            foreach ($this->attr as $attr => $val) {
                $tmp[] = $attr.'="'.$this->app->encodeAttribute($val).'"';
            }
            $this->template->setHTML('attributes', implode(' ', $tmp));
        }
    }
688700
public function RenderBlock($block)
    {
        $templateFile = $this->BuiltInTemplateFile();
        $blockFile = Path::AddExtension($templateFile, $block, true);
        $blockFileExt = Path::AddExtension($blockFile, 'phtml');
        if (!File::Exists($blockFileExt))
        {
            return '';
        }
        ob_start();
        require $blockFileExt;
        return ob_get_clean();
    }
979175
protected function render ()
  {
    $prop          = $this->props;
    $content       = $this->getChildren ();
    $blocksService = $this->context->getBlocksService ();
    $isFetch       = $this->request->getAttribute ('isFetch');

    // Save the channel's content into a content block.
    $blocksService->getBlock ($this->channelId)->set ($content);

    // If on Fetch mode, render the block immediately as a `<section>` element.
    if ($isFetch) {
      echo sprintf ('<section id="%s">
', htmlspecialchars ($prop->name));
      $this->runChildren ();
      echo "
</section>

";
    }
  }
32538
public function render()
    {
        if ($this->html instanceof \Closure) {
            $this->html = $this->html->call($this->form->model(), $this->form);
        }

        if ($this->plain) {
            return $this->html;
        }

        $viewClass = $this->getViewElementClasses();

        return <<<EOT
<div class="form-group">
    <label  class="{$viewClass['label']} control-label">{$this->label}</label>
    <div class="{$viewClass['field']}">
        {$this->html}
    </div>
</div>
EOT;
    }