You are here

function drupalforfirebug_get in Drupal For Firebug 5

Same name and namespace in other branches
  1. 6 drupalforfirebug.module \drupalforfirebug_get()
  2. 7.2 drupalforfirebug.module \drupalforfirebug_get()
  3. 7 drupalforfirebug.module \drupalforfirebug_get()

Output Function to Return the Results of the Log

1 call to drupalforfirebug_get()
drupalforfirebug_footer in ./drupalforfirebug.module
Output Function to Return Hidden Div Containers in Footer

File

./drupalforfirebug.module, line 95

Code

function drupalforfirebug_get($panetype) {
  global $dfp_runtime;
  if (isset($dfp_runtime['firebug_messages'][$panetype])) {
    foreach ($dfp_runtime['firebug_messages'][$panetype] as $message) {
      $output .= '<div>' . $message . '</div>';
    }
    unset($dfp_runtime['firebug_messages'][$panetype]);
    return $output;
  }
}