|
@@ 453-454 (lines=2) @@
|
| 450 |
|
$row = array(); |
| 451 |
|
|
| 452 |
|
foreach ( $this->data['columns'] as $column => $label ) { |
| 453 |
|
if ( is_numeric( $column ) && ( ( is_object( $item ) && ! isset( $item->$column ) ) || ( is_array( $item ) && ! isset( $item[ $column ] ) ) ) ) { |
| 454 |
|
$column = $label; |
| 455 |
|
} |
| 456 |
|
|
| 457 |
|
$value = ''; |
|
@@ 513-514 (lines=2) @@
|
| 510 |
|
$line = ''; |
| 511 |
|
|
| 512 |
|
foreach ( $this->data[ 'columns' ] as $column => $label ) { |
| 513 |
|
if ( is_numeric( $column ) && ( ( is_object( $item ) && !isset( $item->$column ) ) || ( is_array( $item ) && !isset( $item[ $column ] ) ) ) ) |
| 514 |
|
$column = $label; |
| 515 |
|
|
| 516 |
|
$value = ''; |
| 517 |
|
|
|
@@ 569-570 (lines=2) @@
|
| 566 |
|
$line = "\t<item>\r\n"; |
| 567 |
|
|
| 568 |
|
foreach ( $this->data[ 'columns' ] as $column => $label ) { |
| 569 |
|
if ( is_numeric( $column ) && ( ( is_object( $item ) && !isset( $item->$column ) ) || ( is_array( $item ) && !isset( $item[ $column ] ) ) ) ) |
| 570 |
|
$column = $label; |
| 571 |
|
|
| 572 |
|
$line .= $this->build_xml_level( $item, $column ); |
| 573 |
|
} |