root / drupal7 / sites / all / modules / views_data_export / theme / views-data-export-xml-body.tpl.php @ ebcc4118
1 |
<?php
|
---|---|
2 |
/**
|
3 |
* @file views-view-table.tpl.php
|
4 |
* Template to display a view as a table.
|
5 |
*
|
6 |
* - $title : The title of this group of rows. May be empty.
|
7 |
* - $rows: An array of row items. Each row is an array of content
|
8 |
* keyed by field ID.
|
9 |
* - $header: an array of headers(labels) for fields.
|
10 |
* - $themed_rows: a array of rows with themed fields.
|
11 |
* @ingroup views_templates
|
12 |
*/
|
13 |
?>
|
14 |
<?php foreach ($themed_rows as $count => $row): ?> |
15 |
<<?php print $item_node; ?>> |
16 |
<?php foreach ($row as $field => $content): ?> |
17 |
<<?php print $xml_tag[$field]; ?>><?php print $content; ?></<?php print $xml_tag[$field]; ?>> |
18 |
<?php endforeach; ?> |
19 |
</<?php print $item_node; ?>> |
20 |
<?php endforeach; ?> |