PHP Class Neos\Fusion\ViewHelpers\RenderViewHelper

= Examples = TypoScript: some.given { path = Neos.Fusion:Template … } ViewHelper: (the evaluated Fusion, depending on the given path) (the evaluated Fusion, depending on the given path)
Inheritance: extends Neos\FluidAdaptor\Core\ViewHelper\AbstractViewHelper
Show file Open project: neos/neos-development-collection

Protected Properties

Property Type Description
$escapeOutput boolean
$typoScriptView Neos\Fusion\View\FusionView

Public Methods

Method Description
initializeArguments ( ) : void Initialize the arguments.
render ( string $path, array $context = null, string $typoScriptPackageKey = null ) : string Evaluate the Fusion object at $path and return the rendered result.

Protected Methods

Method Description
initializeFusionView ( ) : void Initialize the Fusion View

Method Details

initializeArguments() public method

Initialize the arguments.
public initializeArguments ( ) : void
return void

initializeFusionView() protected method

Initialize the Fusion View
protected initializeFusionView ( ) : void
return void

render() public method

Evaluate the Fusion object at $path and return the rendered result.
public render ( string $path, array $context = null, string $typoScriptPackageKey = null ) : string
$path string Relative Fusion path to be rendered
$context array Additional context variables to be set.
$typoScriptPackageKey string The key of the package to load Fusion from, if not from the current context.
return string

Property Details

$escapeOutput protected property

protected bool $escapeOutput
return boolean

$typoScriptView protected property

protected FusionView,Neos\Fusion\View $typoScriptView
return Neos\Fusion\View\FusionView