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 FE.
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¶
section¶
- DataType
- string
- Required
- true
- Description
- Section to render - combine with partial to render section in partial
partial¶
- DataType
- string
- Required
- true
- Description
- Partial to render, with or without section
arguments¶
- DataType
- mixed
- Default
- array ()
- Required
- true
- Description
- Array of variables to be transferred. Use {_all} for all variables
optional¶
- DataType
- boolean
- Required
- true
- Description
- If TRUE, considers the section optional. Partial never is.
default¶
- DataType
- mixed
- Required
- true
- Description
- Value (usually string) to be displayed if the section or partial does not exist
contentAs¶
- DataType
- string
- Required
- true
- Description
- If used, renders the child content and adds it as a template variable with this name for use in the partial/section