Functions

Smarty debug_print_var modifier plugin

smarty_modifier_debug_print_var(array | object $var, integer $depth, integer $length) : string

Type: modifier
Name: debug_print_var
Purpose: formats variable contents for display in the console

author Monte Ohrt <monte at ohrt dot com>

Parameters

$var

arrayobject

variable to be formatted

$depth

integer

maximum recursion depth if $var is an array

$length

integer

maximum string length if $var is a string

Returns

string

Classes and interfaces

Smarty_Internal_Debug

Smarty Internal Plugin Debug Class

« More »