You are here

function views_theme_wizard_list_fields in Views (for Drupal 7) 5

1 call to views_theme_wizard_list_fields()
views_theme_wizard_form in ./views_theme_wizard.module

File

./views_theme_wizard.module, line 233

Code

function views_theme_wizard_list_fields($view) {
  $fields = _views_get_fields();
  $output = "These functions will override the given fields for just this view:\n\n";
  foreach ($view->field as $field) {
    $fieldinfo = $fields[$field['id']];
    $output .= "{$fieldinfo['name']}\n  phptemplate_views_handle_field_{$view->name}_{$field['queryname']}\n\n";
  }
  $output .= "\n\nThese functions will override the given fields for every view:\n\n";
  foreach ($view->field as $field) {
    $fieldinfo = $fields[$field['id']];
    $output .= "{$fieldinfo['name']}\n  phptemplate_views_handle_field_{$field['queryname']}\n\n";
  }
  return $output;
}