Render ViewHelper <f:render>
Source code
Go to the source code of this ViewHelper: RenderViewHelper.php (GitHub).
Arguments
The following arguments are available for the render ViewHelper:
arguments
-
- Type
- array
- Default
- array ( )
Array of variables to be transferred. Use {_all} for all variables
contentAs
-
- Type
- string
If used, renders the child content and adds it as a template variable with this name for use in the partial/section
debug
-
- Type
- boolean
- Default
- true
If true, the admin panel shows debug information if activated,
default
-
- Type
- mixed
Value (usually string) to be displayed if the section or partial does not exist
delegate
-
- Type
- string
Optional PHP class name of a permanent, included-in-app ParsedTemplateInterface implementation to override partial/section
optional
-
- Type
- boolean
- Default
- false
If true, considers the *section* optional. Partial never is.
partial
-
- Type
- string
Partial to render, with or without section
section
-
- Type
- string
Section to render - combine with partial to render section in partial