1. 1 core/includes/utility.inc
  2. 1 core/modules/views/includes/utility.inc

Utility functions for assembling Views queries.

File

core/modules/views/includes/utility.inc

Functions

Namesort descending Description
views_array_key_plus Adds one to each key of the array.
views_break_phrase Break x,y,z and x+y+z into an array. Numeric only.
views_break_phrase_string Break x,y,z and x+y+z into an array. Works for strings.
views_date_sql_extract Helper function to create cross-database SQL date extraction.
views_date_sql_field Helper function to create cross-database SQL dates.
views_date_sql_format Helper function to create cross-database SQL date formatting.
views_discover_plugins Builds and return a list of all plugins available in the system.
views_get_enabled_display_extenders Get enabled display extenders.
views_get_table_join Fetch a handler to join one table to a primary table from the data cache
views_get_timezone Figure out what timezone we're in; needed for some date manipulations.
views_trim_text Trim the field down to the specified length.
_views_create_handler Instantiate and construct a new handler
_views_prepare_handler Prepare a handler's data by checking defaults and such.