function kdevel_print_object

Same name in other branches
  1. 7.x-1.x devel.module \kdevel_print_object()

Print an object or array using either Krumo (if installed) or devel_print_object()

Parameters

$object: array or object to print

$prefix: prefixing for output items

4 calls to kdevel_print_object()
dargs in ./devel.module
Prints the arguments passed into the current function
devel_elements_page in ./devel.module
devel_load_object in ./devel.module
Menu callback; prints the loaded structure of the current node/user.
devel_render_object in ./devel.module
Menu callback; prints the render structure of the current object (currently node or user).

File

./devel.module, line 1527

Code

function kdevel_print_object($object, $prefix = NULL) {
    return has_krumo() ? krumo_ob($object) : devel_print_object($object, $prefix);
}