stableversion-3.0
Last change
on this file since 65dadeb 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:
809 octetos
|
Línea | |
---|
1 | <?php |
---|
2 | /** |
---|
3 | * This template is used to print a single field in a view. It is not |
---|
4 | * actually used in default Views, as this is registered as a theme |
---|
5 | * function which has better performance. For single overrides, the |
---|
6 | * template is perfectly okay. |
---|
7 | * |
---|
8 | * Variables available: |
---|
9 | * - $view: The view object |
---|
10 | * - $field: The field handler object that can process the input |
---|
11 | * - $row: The raw SQL result that can be used |
---|
12 | * - $output: The processed output that will normally be used. |
---|
13 | * |
---|
14 | * When fetching output from the $row, copy and paste the following snippet: |
---|
15 | * $data = $row->{$field->field_alias} |
---|
16 | * |
---|
17 | * The above will guarantee that you'll always get the correct data, |
---|
18 | * regardless of any changes in the aliasing that might happen if |
---|
19 | * the view is modified. |
---|
20 | */ |
---|
21 | ?> |
---|
22 | <?php print $output; ?> |
---|
Nota: Vea
TracBrowser
para ayuda de uso del navegador del repositorio.