index 472ad7f7fca2f64f3d33b7c6b29d88519ea09989..9c30cec399e8580bfde673549ad827acd33a2e99 100644 (file)
}
# build a single table ... may be nested
}
# build a single table ... may be nested
- $this->output .= '<table summary=\"\" style="border:none;" cellspacing="1" '.( !$iteration && $this->export_flag ? 'onClick="document.getElementById(\'pa_form_'.$this->export_hash.'\').submit();" )' : '' ).'>';
+ $this->output .= '<table summary="" style="border:none;" cellspacing="1" '.( !$iteration && $this->export_flag ? 'onClick="document.getElementById(\'pa_form_'.$this->export_hash.'\').submit();" )' : '' ).'>';
foreach( $array as $key => $value ) {
$value_style = 'color:black;';
foreach( $array as $key => $value ) {
$value_style = 'color:black;';
# value output
if($type == 'array') {
# value output
if($type == 'array') {
- $this->print_a( $value, TRUE, $key_bg_color );
+ if(count($value)){
+ $this->print_a( $value, TRUE, $key_bg_color );
+ }else{
+ $this->output .= '<div style="color:blue;">Array (empty)</div>';
+ }
} elseif($type == 'object') {
if( $this->show_object_vars ) {
$this->print_a( get_object_vars( $value ), TRUE, $key_bg_color );
} else {
} elseif($type == 'object') {
if( $this->show_object_vars ) {
$this->print_a( get_object_vars( $value ), TRUE, $key_bg_color );
} else {
- $this->output .= '<div style="'.$value_style.'">OBJECT</div>';
+ $this->output .= '<div style="'.$value_style.'">OBJECT - '.get_class($value).'</div>';
}
} else {
$this->output .= '<div style="'.$value_style.'" title="'.$type.'">'.$value.'</div>';
}
} else {
$this->output .= '<div style="'.$value_style.'" title="'.$type.'">'.$value.'</div>';
</script>
';
</script>
';
- print '<table summary=\"\" border="0" bgcolor="#000000" cellspacing="1" cellpadding="1">';
+ print '<table summary="" border="0" bgcolor="#000000" cellspacing="1" cellpadding="1">';
print '<tr>';
foreach($tables as $tableName => $tableCount) {
print '<tr>';
foreach($tables as $tableName => $tableCount) {