DebugViewHelper extends AbstractViewHelper

ViewHelper

This class is the implementation of a Fluid ViewHelper.

View this class in the TYPO3 ViewHelper reference: <f:debug>

FinalYes

This ViewHelper generates a HTML dump of the tagged variable.

Examples

Simple

::

<f:debug>{myVariable}</f:debug>

[A HTML dump of myVariable value]

All Features

::

<f:debug title="My Title" maxDepth="5" blacklistedClassNames="{0:'Tx_BlogExample_Domain_Model_Administrator'}" blacklistedPropertyNames="{0:'posts'}" plainText="true" ansiColors="false" inline="true" > {blogs} </f:debug>

[A HTML view of the var_dump]

Table of Contents

Properties

$escapeChildren  : bool
This prevents double escaping as the output is encoded in DebuggerUtility::var_dump
$escapeOutput  : bool
Output of this viewhelper is already escaped

Methods

initializeArguments()  : void
render()  : string
A wrapper for \TYPO3\CMS\Extbase\Utility\DebuggerUtility::var_dump().

Properties

$escapeChildren

This prevents double escaping as the output is encoded in DebuggerUtility::var_dump

protected bool $escapeChildren = false

$escapeOutput

Output of this viewhelper is already escaped

protected bool $escapeOutput = false

Methods

initializeArguments()

public initializeArguments() : void

render()

A wrapper for \TYPO3\CMS\Extbase\Utility\DebuggerUtility::var_dump().

public render() : string
Return values
string

        
On this page

Search results