| category | OSS |
|---|---|
| package | OSS_Debug |
| copyright | Copyright (c) 2007 - 2012, Open Source Solutions Limited, Dublin, Ireland |
| license | New BSD License |
compact_debug_backtrace() : array
arraydd(object $object, bool $html) : void
The dump command is Zend_Debug::dump()
objectThe variable / object to dump
boolIf true (default) surround the output with
<
pre> tags
getInheritanceTree(string | object $classOrObject) : array | null
It returns with a simple indexed array, where index 0 is the class of $pClassOrObject, and index N is the name of the class at the end of the whole inheritance tree. If $pClassOrObject is not a string or an object, then it returns with NULL.
stringobjecta string class name or an object
arraynull
log($message) : array | null
arraynull
pd(array $array, bool $html) : void
arrayThe array to dump
boolIf true (default) surround the output with
<
pre> tags
prr(mixed $data, mixed $var_name, boolean $return, boolean $addPre, boolean $addDollarSign) : void | string
The output looks the same in the browser as the output of print_r() in the source, as it turns the pure text output of print_r() into HTML (XHTML).
mixedthe data to be printed or returned
mixednull if we don't want to display the variable name, otherwise the name of the variable
booleandefault false; if true it returns with the result, if true then prints it
booleandefault true adds the '
...
' tags to the output, useful for HTML output
booleandefault true adds a $ sign to the $var_name if it is set to true
voidstring