function drupalforfirebug_field_object in Drupal For Firebug 7.2
Same name and namespace in other branches
- 5 drupalforfirebug.module \drupalforfirebug_field_object()
- 6 drupalforfirebug.module \drupalforfirebug_field_object()
- 7 drupalforfirebug.module \drupalforfirebug_field_object()
Function for fieldsets that wrap object dumps
For efficiency and consistent behavior in firebug window Use to be a theme function, but that broke things
4 calls to drupalforfirebug_field_object()
- drupalforfirebug_form_alter in ./
drupalforfirebug.module - Implementation of hook_form_alter()
- drupalforfirebug_node_process in ./
drupalforfirebug.module - Processing function for Node API
- drupalforfirebug_user_processing in ./
drupalforfirebug.module - Processor for Hook Usering
- drupalforfirebug_views_pre_view in ./
drupalforfirebug.module - Implementation of hook_views_pre_view();
File
- ./
drupalforfirebug.module, line 619
Code
function drupalforfirebug_field_object($marker, $id, $op = NULL, $data) {
$output = '<fieldset class="toggler">';
$output .= '<legend><strong><a href="#"><em>' . $op . '</em> $' . $marker . '->' . $id . '</a></strong></legend>';
$output .= '<div class="content" style="display: none;">';
$output .= '<div>' . ' $' . $marker . ' = (' . '</div>';
$output .= $data;
$output .= '<div>' . ' );</div>';
$output .= '</div>';
$output .= '</fieldset>';
return $output;
}