Return the views output.

@return string 	The output of the view
174216
public function display()
    {
        $name = $this->getName();

        $data = array();

        //if data is set the just json encode those
        if (count($this->_data)) {
            $this->output = $this->_data;
        } elseif (AnInflector::isPlural($name)) {
            $this->output = $this->_getList();
        } else {
            $this->output = $this->_getItem();
        }

        //if null then return empty string
        $this->output = pick($this->output, '');

        if (!is_string($this->output)) {
            $this->output = json_encode($this->_toArray(AnConfig::unbox($this->output)));
        }

        //Handle JSONP
        if (! empty($this->_padding)) {
            $this->output = $this->_padding.'('.$this->output.');';
        }

        return $this->output;
    }
34328
public function output()
    {
        if ( $this->session->has('flashMessages') ) {
            $flashMessages = $this->session->get('flashMessages');
            $this->session->set('flashMessages', []);
            $html = null;
            foreach ($flashMessages as $message) {
                $html .= "<div class='". $message['type'] . "'>" . $message['message'] . "</div>";
            }
            return $html;
        }
    }
293791
public function get_view()
	{
    $args = $this->get_arguments(\func_get_args());
		/*if ( !isset($args['mode']) ){
      $v = $this->mvc->get_view($args['path'], 'html', $args['data']);
      if ( !$v ){
        $v = $this->mvc->get_view($args['path'], 'php', $args['data']);
      }
		}
		else{
      $v = $this->mvc->get_view($args['path'], $args['mode'], $args['data']);
    }*/
		if ( empty($args['mode']) ){
      $args['mode'] = 'html';
    }
    $v = $this->mvc->get_view($args['path'], $args['mode'], $args['data']);
		/*
    if ( !$v && $args['die'] ){
      die("Impossible to find the $args[mode] view $args[path] from $args[file]");
    }
		*/
    return $v;
	}
815329
public function FetchView() {
      $ViewPath = $this->FetchViewLocation();
      $String = '';
      ob_start();
      if(is_object($this->_Sender) && isset($this->_Sender->Data)) {
         $Data = $this->_Sender->Data;
      } else {
         $Data = array();
      }
      include ($ViewPath);
      $String = ob_get_contents();
      @ob_end_clean();
      return $String;
   }
64322
public function getView()
    {
        if (!empty($this->view)) {
            return $this->view;
        }

        $class = explode('\\', get_called_class());

        return 'merchant::form.'.strtolower(end($class));
    }
423535
public function getView()
    {
        if (view()->exists($this->view)) {
            return $this->view;
        }

        if (view()->exists('admin.'.$this->urlPrefix().'.index')) {
            return 'admin.'.$this->urlPrefix().'.index';
        }

        if (view()->exists('admin.'.$this->urlPrefix())) {
            return 'admin.'.$this->urlPrefix();
        }

        if (view()->exists('flare::'.$this->view)) {
            return 'flare::'.$this->view;
        }

        return parent::getView();
    }
342777
public function output()
    {
        $defaults = [
            'fontCache' => TMP,
            'tempDir' => TMP,
        ];
        $options = (array)$this->getConfig('options') + $defaults;

        $DomPDF = $this->_createInstance($options);
        $DomPDF->setPaper($this->_Pdf->pageSize(), $this->_Pdf->orientation());
        $DomPDF = $this->_render($this->_Pdf, $DomPDF);

        return $this->_output($DomPDF);
    }
695999
public function render()
    {
        $metric = new Metric('print-out');
        $metric->start();
        ini_set('memory_limit', '512M');

        if ( ! is_string($this->expression)) {
            $this->expression = print_r($this->expression, true);
        }

        $expression = htmlentities($this->expression);
        $expression = htmlspecialchars(htmlspecialchars_decode($this->expression, ENT_QUOTES), ENT_QUOTES, 'UTF-8');
        $trace = new Trace();

        $metric->stop();

        ob_start();
        include __DIR__ . '/Views/Screen.php';
        $output = ob_get_contents();
        ob_end_clean();

        return $output;
    }
1093179
public function output($view, $data = [])
    {
        $path = $this->processOutput($view, $data);

        $content = file_get_contents($path);

        @unlink($path);

        return $content;
    }
287044
protected function _getView() {
		$helpers = (array)Configure::read('Maintenance.helpers');

		$View = new View(null);
		$View->viewVars = (array)Configure::read('Maintenance.viewVars');
		$View->helpers = $helpers;
		$View->loadHelpers();
		$View->hasRendered = false;
		$View->viewPath = 'Maintenance';
		return $View;
  }
1008546
public function render()
    {
        $media = $this->getRepository()->getMedia(
            $name = $this->getFormName()
        )->map(function ($item) {
            return array_merge($item->toArray(), [
                'url' => $item->getUrl(),
                'conversions' => $this->conversions($item),
            ]);
        });

        return view('administrator::edit.controls.media', [
            'name' => $name,
            'media' => $media->toJson(),
            'arrows' => $this->arrows,
            'indicators' => $this->indicators,
            'width' => $this->width,
            'conversion' => $this->conversion,
            'editable' => $this->editable,
        ]);
    }
480562
public function display()
    {
        if ($this->entity && $this->entity->isFileable()) {
            $this->output = $this->entity->getFileContent();
            $this->filename = $this->entity->getFileName();
        }

        return parent::display();
    }
1101243
public function getView() {
        $paths = [
            "@" . $this->getBundle(),
            "Wiki",
            strtolower($this->getCategory()),
            strtolower($this->getPackage()),
            strtolower($this->getPage()) . ".html.twig",
        ];
        return implode("/", $paths);
    }
925893
public function getView(): View
    {
        $path = $this->useShortViewPath ?
            $this->getViewPath() : sprintf('%s.%s.%s', $this->getTheme(), $this->getLayout(), $this->getViewPath());

        if (is_null($this->viewInstance)) {
            $this->viewInstance = $this->factory->make($path);
        }

        return $this->viewInstance;
    }
393140
public function generate()
    {
        $views = new \StdClass();

        foreach ($this->views as $view) {
            $views->{$view} = $this->generateView($view);
        }

        return $views;
    }
556811
public function getView()
    {
        $module = \Yii::$app->controller->module;

        if (method_exists($module, 'getView')) {
            return $module->getView();
        }

        return parent::getView();
    }
894350
public function render()
    {
        if (! $this->display) {
            return;
        }

        $this->runBeforeRender();
        $this->checkRequired();
        $this->translate();

        $attributes = $this->getModifyAttributes();
        $this->attributes['id'] = $this->getId();

        if ($this->hasError()) {
            if (! isset($attributes['class']) || is_null($attributes['class'])) {
                $attributes['class'] = ' is-invalid';
            } else {
                $attributes['class'] .= ' is-invalid';
            }
        }

        return view($this->view, array_merge($this->getAttributes(), [
            'attributes' => $attributes,
            'id'         => $this->getId(),
            'old'        => $this->getOldValue(),
            'slug'       => $this->getSlug(),
            'oldName'    => $this->getOldName(),
            'typeForm'   => $this->typeForm ?? $this->vertical()->typeForm,
        ]))
            ->withErrors(session()->get('errors', app(ViewErrorBag::class)));
    }