source: sipes/modules_contrib/views/theme/views-view-fields.tpl.php @ 59029b2

stableversion-3.0
Last change on this file since 59029b2 was 59029b2, checked in by José Gregorio Puentes <jpuentes@…>, 8 años ago

se actualizo la version del modulo views

  • Propiedad mode establecida a 100644
File size: 1.5 KB
Línea 
1<?php
2/**
3 * @file views-view-fields.tpl.php
4 * Default simple view template to all the fields as a row.
5 *
6 * - $view: The view in use.
7 * - $fields: an array of $field objects. Each one contains:
8 *   - $field->content: The output of the field.
9 *   - $field->raw: The raw data for the field, if it exists. This is NOT output safe.
10 *   - $field->class: The safe class id to use.
11 *   - $field->handler: The Views field handler object controlling this field. Do not use
12 *     var_export to dump this object, as it can't handle the recursion.
13 *   - $field->inline: Whether or not the field should be inline.
14 *   - $field->inline_html: either div or span based on the above flag.
15 *   - $field->wrapper_prefix: A complete wrapper containing the inline_html to use.
16 *   - $field->wrapper_suffix: The closing tag for the wrapper.
17 *   - $field->separator: an optional separator that may appear before a field.
18 *   - $field->label: The wrap label text to use.
19 *   - $field->label_html: The full HTML of the label to use including
20 *     configured element type.
21 * - $row: The raw result object from the query, with all data it fetched.
22 *
23 * @ingroup views_templates
24 */
25?>
26<?php foreach ($fields as $id => $field): ?>
27  <?php if (!empty($field->separator)): ?>
28    <?php print $field->separator; ?>
29  <?php endif; ?>
30
31  <?php print $field->wrapper_prefix; ?>
32    <?php print $field->label_html; ?>
33    <?php print $field->content; ?>
34  <?php print $field->wrapper_suffix; ?>
35<?php endforeach; ?>
Nota: Vea TracBrowser para ayuda de uso del navegador del repositorio.