category | OSS |
---|---|
package | OSS_Debug |
copyright | Copyright (c) 2007 - 2012, Open Source Solutions Limited, Dublin, Ireland |
license | New BSD License |
compact_debug_backtrace() : array
array
dd(object $object, bool $html) : void
The dump command is Zend_Debug::dump()
object
The variable / object to dump
bool
If 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.
string
object
a string class name or an object
array
null
log($message) : array | null
array
null
pd(array $array, bool $html) : void
array
The array to dump
bool
If 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).
mixed
the data to be printed or returned
mixed
null if we don't want to display the variable name, otherwise the name of the variable
boolean
default false; if true it returns with the result, if true then prints it
boolean
default true adds the '
...
' tags to the output, useful for HTML output
boolean
default true adds a $ sign to the $var_name if it is set to true
void
string