You are here

function _messaging_debug_format_array in Messaging 6.3

Format array

2 calls to _messaging_debug_format_array()
_messaging_debug_format_log in messaging_debug/messaging_debug.module
Format complex log as collapsible fieldset
_messaging_debug_format_object in messaging_debug/messaging_debug.module
Format objects/array in logs

File

messaging_debug/messaging_debug.module, line 372
Simple messaging using html page. Messaging method plug-in

Code

function _messaging_debug_format_array($objects) {
  $rows = array();
  foreach ($objects as $name => $value) {
    $rows[] = array(
      $name,
      _messaging_debug_format_object($value, $name),
    );
  }
  return theme('table', array(), $rows);
}