You are here

function firep in Drupal For Firebug 7

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

Command Function to Record a Data Element to the Drupal Firebug Log

File

./drupalforfirebug.module, line 213

Code

function firep($element, $title = NULL) {
  if ($title) {
    drupalforfirebug_log('<strong>' . $title . ':</strong>');
  }
  drupalforfirebug_log('<PRE>' . print_r($element, true) . '<br><br></PRE>', 'general');
}