Render the view output.

@return $this
@throws InvalidArgumentException
173980
public function render()
    {
        // Check if there is a valid view
        if (empty($this->view)) {
            throw new InvalidArgumentException(__METHOD__ . ': The view file given is a not valid view.');
        }

        // Load the view file
        $this->output = $this->executable ? include $this->view : file_get_contents($this->view);

        // Interpolate parameters on the view
        $this->output = StringHelper::interpolate($this->output, $this->parameters);

        return $this;
    }
957933
public function render()
    {
        if ($this->showAs->isNotEmpty()) {
            $this->showAs->each(function ($callable) {
                $this->value = $callable->call(
                    $this->parent->getModel(),
                    $this->value
                );
            });
        }

        return view($this->view, $this->variables());
    }
224163
public function render() {
		$output = null;
		if ( $this->child_count() > 0 ) {
			$output .= '<div id="panel-' . esc_attr( $this->id() ) . '" class="uix-' . esc_attr( $this->type ) . '-inside ' . esc_attr( $this->wrapper_class_names() ) . '">';
			$output .= $this->label() . $this->description() . $this->navigation() . $this->panel_section();
			$output .= '</div>';
		} else {
			$output .= $this->panel_section();
		}
		$output .= $this->render_template();

		return $output;
	}
189292
public function actionView()
	{
		$post=$this->loadModel();
		$comment=$this->newComment($post);

		$this->render('view',array(
			'model'=>$post,
			'comment'=>$comment,
		));
	}
1096537
public function render()
    {
        $associationID = $this->arguments[self::ARGUMENT_ASSOCIATIONID];
        $functionaryID = $this->arguments[self::ARGUMENT_EVENTID];

        $associationFilter = $this->getDefaultAssociationFilter();
        $functionaryFilter = $this->getDefaultFunctionaryFilter();

        if (empty($associationID)) {
            $functionary = $this->functionaryRepository->findByID($association, $functionaryID, $functionaryFilter);
        } else {
            $association = $this->associationRepository->findByID($associationID, $associationFilter);

            $functionary = $this->functionaryRepository->findByAssociationAndID($association, $functionaryID, $functionaryFilter);
        }

        $functionary->setAssociation($this->associationRepository->findByID($functionary->getAssociation()->getID(), $associationFilter));

        $this->templateVariableContainer->add($this->arguments[self::ARGUMENT_AS], $functionary);
        $output = $this->renderChildren();
        $this->templateVariableContainer->remove($this->arguments[self::ARGUMENT_AS]);

        return $output;
    }
546792
public function render()
    {
        $this->engine->parse($this->file);
        $output = $this->engine->process($this->data);
        return $output;
    }
1185822
public function render()
    {
        if (null === $this->getCommand()) {
            throw new \InvalidArgumentException('You must specify a command to run.');
        }

        // Create / Recreate a line in the crontab
        $line = trim(implode(" ", $this->getEntries()));

        return $line;
    }
931975
protected function _render()
    {
        $viewClass = $this->viewRender();
        $viewClass = App::className($viewClass, 'View', $viewClass == 'View' ? '' : 'View');

        $viewVars = [
            'theme',
            'layoutPath',
            'templatePath',
            'template',
            'layout',
            'helpers',
            'viewVars',
        ];
        $viewOptions = [];
        foreach ($viewVars as $var) {
            $prop = '_' . $var;
            $viewOptions[$var] = $this->{$prop};
        }

        $request = Router::getRequest(true);
        if (!$request) {
            $request = ServerRequestFactory::fromGlobals();
        }

        $View = new $viewClass(
            $request,
            null,
            null,
            $viewOptions
        );

        return $View->render();
    }
1096681
public function render()
    {
        $vars = [
            'headers'    => $this->headers,
            'rows'       => $this->rows,
            'style'      => $this->style,
            'attributes' => $this->formatAttributes(),
        ];

        return view($this->view, $vars)->render();
    }
1357020
public function renderOut()
    {
        foreach (Error::all() as $file => $error) {
            foreach ($error as $line) {
                $this->addMessage('Template error: ' . $line . '(' . $file . ')', 'error');
            }
        }
        return $this->render->render();
    }
114170
public function render()
    {
        $lines = [];
        foreach ($this->choices as $key => $choice) {
            if (is_string($choice)) {
                $lines[] = $this->getGroupTemplate($choice);
            } else {
                $lines[] = $this->getChoiceTemplate($choice);
            }
        }
        $this->stream->write(implode("\n", $lines));
    }
484860
public function render()
    {
        if ($this->getView() === null) {
            $this->setView(new TemplateView('controls/column_sorting'));
        }
        $this->getView()->mergeData([
            'order' => $this->getDirection(),
            'links' => $this->makeLinks()
        ]);
        return parent::render();
    }
681840
public function render()
	{
		$attributes	= $this->getAttributes();
		if( empty( $this->url ) )
			throw new InvalidArgumentException( 'Image URL is empty' );
		$attributes['title']	= (string) $this->title;
		$attributes['alt'] 		= (string) $this->title;
		$attributes['src'] 		= $this->url;
		return UI_HTML_Tag::create( 'img', NULL, $attributes );
	}
505556
public function output()
	{
		if ($this->html)
		{
			return $this->snappy->getOutputFromHtml($this->html, $this->options);
		}

		if ($this->file)
		{
			return $this->snappy->getOutput($this->file, $this->options);
		}

		throw new \InvalidArgumentException('PDF Generator requires a html or file in order to produce output.');
    }
302640
public function render() {
        $args = func_get_args();
        if (isset($args[0]) && is_string($args[0])) {
            $tpl = array_shift($args);
        } else {
            $tpl = get_class($this);
            $paths = explode('\\', $tpl);
            array_shift($paths);
            $className = array_pop($paths);
            $actionSuffix = 'Action';
            if (substr($className, strrpos($className, $actionSuffix)) === $actionSuffix) {
                $basename = substr($className, 0, -strlen($actionSuffix));
            } else {
                $basename = $className;
            }
            array_push($paths, $basename);
            foreach ($paths as &$path) {
                $path = Toolkit::to_snake_case($path);
            }
            unset($path);
            $tpl = implode(DIRECTORY_SEPARATOR, $paths);
        }
        if (isset($args[0]) && is_array($args[0])) {
            $params = array_shift($args);
        } else {
            $params = [];
        }
        if (isset($args[0]) && is_string($args[0])) {
            $cacheId = array_shift($args);
        } else {
            $cacheId = '';
        }

        return $this->view->render($tpl, $params, $cacheId);
    }
196217
public function renderView()
    {
        if (!$this->cb->triggered()) {
            if ($this->loadEvent) {
                $this->js($this->loadEvent, $this->jsLoad());
            }
            $this->add($this->shim);
        }

        return parent::renderView();
    }
720130
final function render()
    {
        if ($this->_c__isNowRendering)
            return '';

        $this->_c__isNowRendering = true;


        # Render Bind View Models:
        #
        $makeCopyOfCurrentQueue = clone $this->queue;
        foreach($this->queue as $vc)
        {
            /** @var DecorateViewModel $vc */

            try
            {
                $vc->delegateRenderBy($this, $this->nextRoot);
                // prepare bind view model result into parent model
                $vc->assertRenderResult(
                    $vc_render = $vc->render()
                    , $this
                );

                if ( $vc->isFinal() )
                    $rFinal = (string) $vc_render;
            }
            catch (\Exception $e) {
                ## set render flag to false, render job is done
                $this->_c__isNowRendering = false;
                throw $e;
            }
        }

        $this->queue = $makeCopyOfCurrentQueue;
        $this->_c__isNowRendering = false;


        if ( isset($rFinal) )
            return $rFinal;

        # Then Render Self ...
        ## ... implement on extend classes
        return $this->_view->render();
    }