function kdevel_print_object in Devel 7
Same name and namespace in other branches
- 5 devel.module \kdevel_print_object()
- 6 devel.module \kdevel_print_object()
Prints an object using either Krumo (if installed) or devel_print_object().
Parameters
array|object $object: An array or object to print.
string $prefix: Prefix for output items.
Return value
The results from krumo_ob() or devel_print_object().
5 calls to kdevel_print_object()
- dargs in ./
devel.module - Prints the arguments passed into the current function.
- devel_elements_page in ./
devel.pages.inc - Page callback: Returns information from hook_elements().
- devel_load_object in ./
devel.pages.inc - Page callback: Prints the loaded structure of the current node/user.
- devel_menu_item in ./
devel.pages.inc - Page callback: Shows a menu item.
- devel_render_object in ./
devel.pages.inc - Page callback: Prints the render structure of the current object.
File
- ./
devel.module, line 1509 - This module holds functions useful for Drupal development.
Code
function kdevel_print_object($object, $prefix = NULL) {
return has_krumo() ? krumo_ob($object) : devel_print_object($object, $prefix);
}