debug.render ViewHelper <f:debug.render>
¶
Debuggable version of f:render - performs the same rendering operation but wraps the output with HTML that can be inspected with the admin panel in frontend.
Replaces f:render
when the admin panel decides (see
ViewHelperResolver
class). Also possible to use explicitly by using
f:debug.render
instead of the normal f:render
statement.
Arguments¶
debug¶
- DataType
- boolean
- Default
- true
- Required
- false
- Description
- If true, the admin panel shows debug information if activated,
section¶
- DataType
- string
- Required
- false
- Description
- Section to render - combine with partial to render section in partial
partial¶
- DataType
- string
- Required
- false
- Description
- Partial to render, with or without section
arguments¶
- DataType
- mixed
- Default
- array ()
- Required
- false
- Description
- Array of variables to be transferred. Use {_all} for all variables
optional¶
- DataType
- boolean
- Required
- false
- Description
- If TRUE, considers the section optional. Partial never is.
default¶
- DataType
- mixed
- Required
- false
- Description
- Value (usually string) to be displayed if the section or partial does not exist
contentAs¶
- DataType
- string
- Required
- false
- Description
- If used, renders the child content and adds it as a template variable with this name for use in the partial/section