Pimcore\Controller\Action\Frontend::renderScript PHP Method

renderScript() public method

public renderScript ( string $script, null $name = null )
$script string
$name null
    public function renderScript($script, $name = null)
    {
        if (!$this->viewRendered) {
            $this->viewRendered = true;
            parent::renderScript($script, $name);
        }
    }