You are here

function _views_get_fields in Views (for Drupal 7) 5

Gets the field information; if it doesn't exist, call the function that constructs all that.

12 calls to _views_get_fields()
theme_views_view_list in ./views.module
Display the nodes of a view as a list.
theme_views_view_list_popular_alltime in modules/views_statistics.inc
theme_views_view_list_popular_recent in modules/views_statistics.inc
theme_views_view_table in ./views.module
Display the nodes of a view as a table.
views_edit_view in ./views_ui.module
Display all the guts of a view in a form for editing.

... See full list

File

./views_cache.inc, line 172

Code

function _views_get_fields($titles = false) {
  $table_data = _views_get_tables(true);
  return $titles ? $table_data['fields']['titles'] : $table_data['fields']['base'];
}