function drupalforfirebug_get in Drupal For Firebug 7
Same name and namespace in other branches
- 5 drupalforfirebug.module \drupalforfirebug_get()
- 6 drupalforfirebug.module \drupalforfirebug_get()
- 7.2 drupalforfirebug.module \drupalforfirebug_get()
Output Function to Return the Results of the Log
1 call to drupalforfirebug_get()
- drupalforfirebug_shutdown in ./
drupalforfirebug.module - Output Function to Return Hidden Div Containers in Footer
File
- ./
drupalforfirebug.module, line 223
Code
function drupalforfirebug_get($panetype) {
global $dfp_runtime;
$output = '';
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;
}
}