summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--semanticviews-view-fields.tpl.php8
1 files changed, 6 insertions, 2 deletions
diff --git a/semanticviews-view-fields.tpl.php b/semanticviews-view-fields.tpl.php
index 884a65d..08c0b9f 100644
--- a/semanticviews-view-fields.tpl.php
+++ b/semanticviews-view-fields.tpl.php
@@ -2,20 +2,24 @@
// $Id$
/**
* @file semanticviews-view-fields.tpl.php
- * Default simple view template to all the fields as a row.
+ * Default simple view template to display all the fields as a row.
*
* - $view: The view in use.
* - $fields: an array of $field objects. Each one contains:
* - $field->content: The output of the field.
* - $field->raw: The raw data for the field, if it exists. This is NOT output
* safe.
- * - $field->class: The safe class id to use.
+ * - $field->element_type: The HTML element wrapping the field content and
+ * label.
+ * - $field->attributes: An array of attributes for the field wrapper.
* - $field->handler: The Views field handler object controlling this field.
* Do not use var_export to dump this object, as it can't handle the
* recursion.
* - $row: The raw result object from the query, with all data it fetched.
*
* @ingroup views_templates
+ * @todo Justify this template. Excluding the PHP, this template outputs angle
+ * brackets, the label element, slashes and whitespace.
*/
?>
<?php foreach ($fields as $id => $field): ?>