You are here

function krumo_ob in Devel 7

Same name and namespace in other branches
  1. 5 devel.module \krumo_ob()
  2. 6 devel.module \krumo_ob()

Saves krumo html using output buffering.

3 calls to krumo_ob()
devel_variable_form in ./devel.pages.inc
Form constructor for displaying and editing variables.
kdevel_print_object in ./devel.module
Prints an object using either Krumo (if installed) or devel_print_object().
kprint_r in ./devel.module
Returns a message using Krumo.

File

./devel.module, line 1516
This module holds functions useful for Drupal development.

Code

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