Renders the requested step.

@param array $aCallTimeVars - place any custom vars that you want to pass through the call here

@return string
769414
public function Render($sSpotName = null, $aCallTimeVars = array())
    {
        $oView = new TViewParser();

        $oView->AddVar('oShop', $this->getShopService()->getActiveShop());
        $oView->AddVar('oStep', $this);

        $oStepNext = $this->GetNextStep();
        $oStepPrevious = $this->GetPreviousStep();
        $oView->AddVar('oStepNext', $oStepNext);
        $oView->AddVar('oStepPrevious', $oStepPrevious);

        $sBackLink = $this->GetReturnToLastStepURL();
        $oView->AddVar('sBackLink', $sBackLink);

        $oView->AddVar('sSpotName', $sSpotName);
        $oView->AddVar('aCallTimeVars', $aCallTimeVars);

        $sViewName = $this->GetRenderViewName();
        $sViewType = $this->GetRenderViewType();
        $aOtherParameters = &$this->GetAdditionalViewVariables($sViewName, $sViewType);
        $oView->AddVarArray($aOtherParameters);

        return $oView->RenderObjectPackageView($sViewName, $this->getStepViewPath(), $sViewType);
    }
663994
private function automate($viewVars)
    {
        $rawDataObj = new \stdClass();
        foreach ($viewVars as $key => $var) {
            $rawDataObj->$key = $var;
            $viewVars[$key]   = $this->escape($var);
        }
        $viewVars['raws'] = $rawDataObj;

        return $viewVars;
    }
1033950
protected function render(string $template, array $vars = [])
    {
        $vars['flash'] = $this->flash;
        $this->view->setVars($vars);

        $content = $this->view->render($template);
        $this->response->setContent($content);

        return $this->response;
    }
35992
public function getVariableRefs()
	{
		$result = $this->dateXPath2expression instanceof XPath2Expression
			? $this->dateXPath2expression->getParameterQNames()
			: array();

		if ( $this->timeXPath2expression && $this->timeXPath2expression instanceof XPath2Expression )
		{
			$result = array_merge( $result, $this->timeXPath2expression->getParameterQNames() );
		}

		return $result;
	}
883674
public function getTopAlbums($methodVars)
    {
        // Check for required variables
        if (!empty($methodVars['artist']) || !empty($methodVars['mbid'])) {
            $vars = array(
                'method' => 'artist.gettopalbums',
                'api_key' => $this->auth->apiKey
            );
            $vars = array_merge($vars, $methodVars);

            if ($call = $this->apiGetCall($vars)) {
                if (count($call->topalbums->album) > 0) {
                    $i = 0;
                    foreach ($call->topalbums->album as $album) {
                        $topAlbums[$i]['rank'] = (string) $album['rank'];
                        $topAlbums[$i]['name'] = (string) $album->name;
                        $topAlbums[$i]['mbid'] = (string) $album->mbid;
                        $topAlbums[$i]['playcount'] = (string) $album->playcount;
                        $topAlbums[$i]['url'] = (string) $album->url;
                        $topAlbums[$i]['image']['small'] = (string) $album->image[0];
                        $topAlbums[$i]['image']['medium'] = (string) $album->image[1];
                        $topAlbums[$i]['image']['large'] = (string) $album->image[2];
                        $i++;
                    }

                    return $topAlbums;
                } else {
                    throw new NoResultsException('Artist has no top albums');
                }
            } else {
                return false;
            }
        } else {
            throw new InvalidArgumentException('You must include artist varialbe in the call for this method');
        }
    }
908617
public function render()
    {
        if (!is_null($date = from_route('date'))) {
            $level   = from_route('level');
            $log     = $this->getLogOrFail($date);
            $levels  = $this->viewer->levelsNames();
            $entries = $log->entries(is_null($level) ? 'all' : $level);
            return view('antares/logger::admin.widgets.error_details_widget', compact('log', 'levels', 'entries', 'level'));
        }
        return '';
    }
829386
private function render() {
		$strings = implode($this->strings);
		
		// Render includes
		foreach ($this->incTemplates as $path => $include) {
			$incOutput = $include->render();
			$path = preg_replace("/\//", "\/", $path);
			$strings = preg_replace("/\{include\s$path\}/", $incOutput, $strings);
		}
		
		// Render if-statements
		foreach ($this->ifTemplates as $key => $sub) {
			foreach ($sub as $iKey => $instance) {
				$str = '';
				
				if ($this->expressions[$key]->evaluate($this->vars)) {
					$str = $instance->render();
				}
				
				$pregKey = preg_quote($key, '/');
				$strings = preg_replace("/\{if:$pregKey:$iKey\}/", $str, $strings);
			}
		}
		
		// Render foreach-loops
		foreach ($this->forTemplates as $key => $sub) {
			foreach ($sub as $iKey => $instance) {
				$tmplGen = '';
				
				if (isset($this->vars[$key]) && is_array($this->vars[$key])) {
					foreach ($this->vars[$key] as $assocArray) {
						foreach ($assocArray as $k => $v)
							$instance->set($k, $v);
						$tmplGen .= $instance->render();
					}
				}
				
				$pregKey = preg_quote($key, '/');
				$strings = preg_replace("/\{for:$pregKey:$iKey\}/", $tmplGen, $strings);
			}
		}
		
		// Render plain old variables
		foreach ($this->vars as $key => $val) {
			if (!is_array($val))
				$strings = preg_replace("/\{$key\}/", $val, $strings);
		}
		
		// Render expressions
		foreach ($this->expressions as $key => $expr) {
			$eval = $expr->evaluate($this->vars);

			// If we're an array, lets insert the number of items in the array.
			if ( is_array( $eval ) ) {
				$eval = count( $eval );
			}

			$pregKey = preg_quote($key, '/');
			
			$strings = preg_replace('/\{'.$pregKey.'\}/', $eval, $strings);
		}
		
		$strings = preg_replace("/\\\{/", '{', $strings);
		$strings = preg_replace("/\\\}/", '}', $strings);

		return $strings;
	}
670252
public function viewVars($viewVars = null)
    {
        if ($viewVars === null) {
            return $this->_viewVars;
        }
        $this->_viewVars = array_merge($this->_viewVars, (array)$viewVars);

        return $this;
    }
52814
public function render($as) {
		$this->templateVariableContainer->add($as, $this->securityContext->getAccount());
		$result = $this->renderChildren();
		$this->templateVariableContainer->remove($as);
		return $result;
	}
868373
public function render(array $parameters = []): string
    {
        return $this->twig->render('@ezdesign/component/script.html.twig', [
            'src' => $this->src,
            'type' => $this->type,
            'async' => $this->async,
            'defer' => $this->defer,
            'crossorigin' => $this->crossorigin,
            'integrity' => $this->integrity,
        ] + $parameters);
    }
1005349
protected function _getTemplateVars() {
        $vars = parent::_getTemplateVars();
        $vars['advanced_session_validation'] =
            $this->_getAdvancedSessionValidation();

        //dispatch event to allow other extensions to add custom vcl template variables
        Mage::dispatchEvent('turpentine_get_templatevars_after', array(
            'vars' => &$vars,
            'vcl_version'=> self::VCL_VERSION
        ));

        return $vars;
    }
444486
public function render( $tpl, array $vars = []) {
		$name = NULL;
		$slug = $tpl;
		if ( is_array( $tpl ) ) {
			$slug = array_shift( $tpl );
			$name = array_shift( $tpl );
		}
		self::begin();
		$this->part( $slug, $name, $vars );
		
		return self::end();
	}
268194
public function getWeeklyChartList($methodVars)
    {
        // Check for required variables
        if (!empty($methodVars['user'])) {
            $vars = array(
                'method' => 'user.getweeklychartlist',
                'api_key' => $this->auth->apiKey
            );
            $vars = array_merge($vars, $methodVars);

            if ($call = $this->apiGetCall($vars)) {
                $i = 0;
                foreach ($call->weeklychartlist->chart as $chart) {
                    $weeklychartlist[$i]['from'] = (string) $chart['from'];
                    $weeklychartlist[$i]['to'] = (string) $chart['to'];
                    $i++;
                }

                return $weeklychartlist;
            } else {
                return false;
            }
        } else {
            throw new InvalidArgumentException('You must include artist variable in the call for this method');
        }
    }
375289
public function render($sPath, array $aVars = [])
    {
        // Make the template vars available as attributes
        foreach($aVars as $sName => $xValue)
        {
            $sName = (string)$sName;
            $this->$sName = $xValue;
        }
        // Render the template
        ob_start();
        include($sPath);
        $sRendered = ob_get_clean();
        return $sRendered;
    }
927259
public function dumpAll(array $vars, array $base)
    {
        if (\array_keys($vars) !== \array_keys($base)) {
            throw new InvalidArgumentException('Kint::dumpAll requires arrays of identical size and keys as arguments');
        }

        $output = $this->renderer->preRender();

        if ($vars === array()) {
            $output .= $this->renderer->renderNothing();
        }

        foreach ($vars as $key => $arg) {
            if (!$base[$key] instanceof BasicObject) {
                throw new InvalidArgumentException('Kint::dumpAll requires all elements of the second argument to be BasicObject instances');
            }
            $output .= $this->dumpVar($arg, $base[$key]);
        }

        $output .= $this->renderer->postRender();

        return $output;
    }
434641
protected function renderArray() {
		$requestControllerActionIdentifier = $this->controllerContext->getRequest()->getControllerObjectName() . '\\' . $this->controllerContext->getRequest()->getControllerActionName() . 'Action';
		/** @var \Neos\Flow\Mvc\Controller\ControllerContext $controllerContext */
		if (count($this->variablesToRender) === 1) {
			$variableName = current($this->variablesToRender);
			return isset($this->variables[$variableName]) ? $this->serializationService->process($this->variables[$variableName], $this->controllerContext->getUriBuilder(), $requestControllerActionIdentifier) : NULL;
		} else {
			$result = array();
			foreach ($this->variablesToRender as $variableName) {
				$result[$variableName] = isset($this->variables[$variableName]) ? $this->serializationService->process($this->variables[$variableName], $this->controllerContext->getUriBuilder(), $requestControllerActionIdentifier) : NULL;
			}
			return $result;
		}
	}
143360
public function render()
	{
		extract($this->_vars);

		$path = APP_PATH
		        . Agl::APP_TEMPLATE_DIR
		        . static::APP_HTTP_DIR
		        . DS
		        . $this->_file;

		require($path);
	}