function krumo_ob

Same name in other branches
  1. 7.x-1.x devel.module \krumo_ob()
3 calls to krumo_ob()
devel_variable_form in ./devel.module
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 1532

Code

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