Dumps all TWIG's current variables in a developer-friendly table.


Syntax

dumpAll(_context)



Parameter

@param array $_context Be sure to always pass TWIGs standard variable "_context" !

@param string $output (optional, default NULL => "json". Defines the output-format of the values. Either "json" or "php".


Return

Returns a html-string containing the dump.


Examples

Standard (JSON)

This dumps all current variables (global and local) from the TWIG process.
Prints out the values in JSON-Syntax.

{{ hublify.dumpAll(_context) }}

 

Standard (PHP)

This dumps all current variables (global and local) from the TWIG process.
Prints out the values in PHP-Array-Syntax.

{{ hublify.dumpAll(_context, "php") }}