| [ Index ] |
PHP Cross Reference of Drupal 6 (gatewave) |
[Summary view] [Print] [Text view]
1 <?php 2 // $Id: views-view-field.tpl.php,v 1.1 2008/05/16 22:22:32 merlinofchaos Exp $ 3 /** 4 * This template is used to print a single field in a view. It is not 5 * actually used in default Views, as this is registered as a theme 6 * function which has better performance. For single overrides, the 7 * template is perfectly okay. 8 * 9 * Variables available: 10 * - $view: The view object 11 * - $field: The field handler object that can process the input 12 * - $row: The raw SQL result that can be used 13 * - $output: The processed output that will normally be used. 14 * 15 * When fetching output from the $row, this construct should be used: 16 * $data = $row->{$field->field_alias} 17 * 18 * The above will guarantee that you'll always get the correct data, 19 * regardless of any changes in the aliasing that might happen if 20 * the view is modified. 21 */ 22 ?> 23 <?php print $output; ?>
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| Generated: Thu Mar 24 11:18:33 2011 | Cross-referenced by PHPXref 0.7 |