You are here

function krumo_ob in Devel 5

Same name and namespace in other branches
  1. 6 devel.module \krumo_ob()
  2. 7 devel.module \krumo_ob()
4 calls to krumo_ob()
devel_variable in ./devel.module
dprint_r in ./devel.module
Pretty-print a variable to the browser. Displays only for users with proper permissions. If you want a string returned instead of a print, use the 2nd param.
kdevel_print_object in ./devel.module
Print an object or array using either Krumo (if installed) or devel_print_object()
kprint_r in ./devel.module

File

./devel.module, line 1145

Code

function krumo_ob($object) {
  ob_start();
  krumo($object);
  $output = ob_get_contents();
  ob_end_clean();
  return $output;
}