Skip to main content
backdrop Documentation
Documentation and API source code for Backdrop CMS.
  • Welcome!
    • Login

Search for range

  1. Home »
  2. API reference »
  3. 1.x
Name Type Location Description
theme_range function core/includes/form.inc Returns HTML for a range form element.
db_query_range function core/includes/database/database.inc Executes a query against the active database, restricted to a range.
date_week_range function core/includes/date.inc Calculates the start and end dates for a calendar week.
date_range_valid function core/includes/date.inc Tests validity of a date range string.
date_range_years function core/includes/date.inc Splits a string like -3:+3 or 2001:2010 into an array of start and end years.
date_range_string function core/includes/date.inc Converts a min and max year into a string like '-3:+1'.
SelectQuery::range function core/includes/database/select.inc
date_iso_week_range function core/includes/date.inc Calculates the start and end dates for an ISO week.
SelectQuery::$range property core/includes/database/select.inc The range limiters for this query.
EntityFieldQuery::range function core/modules/entity/entity.query.inc Restricts a query to a given range in the result set.
views_ui_rearrange_form function core/modules/views_ui/views_ui.admin.inc Form to rearrange items in the views UI.
theme_date_display_range function core/modules/date/date.theme.inc Returns HTML for a date element formatted as a range.
date_year_range_validate function core/modules/date/date.elements.inc Element validation function for the date_year_range form element.
EntityFieldQuery::$range property core/modules/entity/entity.query.inc The query range.
DatabaseRangeQueryTestCase class core/modules/simpletest/tests/database_test.test Range query tests.
SelectQueryExtender::range function core/includes/database/select.inc Restricts a query to a given range in the result set.
SelectQueryInterface::range function core/includes/database/select.inc Restricts a query to a given range in the result set.
date_sql_handler::arg_range function core/modules/date/views/date_sql_handler.inc Use the parsed values from the ISO argument to determine the min and max date for this period.
theme_views_ui_rearrange_form function core/modules/views_ui/views_ui.theme.inc Turn the rearrange form into a proper table
DatabaseConnection::queryRange function core/includes/database/database.inc Runs a limited-range query on this database object.
views_ui_rearrange_form_submit function core/modules/views_ui/views_ui.admin.inc Submit handler for rearranging form
views_ui_rearrange_filter_form function core/modules/views_ui/views_ui.admin.inc Form to rearrange items in the views UI.
date_year_range_element_process function core/modules/date/date.elements.inc Process callback which creates a date_year_range form element.
DatabaseRangeQueryTestCase::setUp function core/modules/simpletest/tests/database_test.test Sets up a Backdrop site for running functional and integration tests.
hook_date_year_range_process_alter function core/modules/date/date.api.php Alter the date_year_range widget element.
theme_views_ui_rearrange_filter_form function core/modules/views_ui/views_ui.theme.inc Turn the rearrange form into a proper table
DatabaseConnection_mysql::queryRange function core/includes/database/mysql/database.inc Runs a limited-range query on this database object.
views_ui_rearrange_filter_form_submit function core/modules/views_ui/views_ui.admin.inc Submit handler for rearranging form
date_year_range_element_value_callback function core/modules/date/date.elements.inc Element value callback for the date_year_range form element.
DateValidationTestCase::dateRangeTests function core/modules/date/tests/date_validation.test Tests for date ranges.
DatabaseSelectComplexTestCase::testRange function core/modules/simpletest/tests/database_test.test Test range queries. The SQL clause varies with the database.
DatabaseRangeQueryTestCase::testRangeQuery function core/modules/simpletest/tests/database_test.test Confirm that range query work and return correct result.
DatabaseAlterTestCase::testAlterRemoveRange function core/modules/simpletest/tests/database_test.test Test that we can remove a range() value from a query. This also tests hook_query_TAG_alter().
date_views_filter_handler_simple::year_range function core/modules/date/views/date_views_filter_handler_simple.inc
database_test_query_database_test_alter_remove_range_alter function core/modules/simpletest/tests/database_test.module Implements hook_query_TAG_alter().

Directory

  • Getting started
    • Installing
    • Updates vs upgrades
    • Hosting/deploying
  • Upgrading from Drupal
    • Introduction
    • Upgrade overview
    • Converting Drupal code
  • User guide
    • Quick start guide
    • Using Backdrop
  • Add-On Documentation
  • Developing for Backdrop
    • Developing modules
    • Developing themes
    • Developing layouts
    • Using libraries
    • Local development
    • Writing secure code
    • Using JavaScript
  • Contributors guide
    • Contribute to Backdrop core
      • How to use the core issue queue
      • Adding labels to issues
      • Adding milestones to issues
    • Contribute Backdrop add-ons
    • Contribute to documentation
  • Developer API
    • Topics
    • Functions
    • Classes
    • Files
    • Globals
    • Icon API
    • Database API
    • Theme functions
    • Form API reference
  • Appendix/reference
    • Change records
    • Glossary
    • Coding & documentation standards
    • Contrib permissions policy

Stay connected

Sign up for our newsletter

Powered by Backdrop CMS

Footer Menu

  • documentation
  • localization
  • events
  • forum
  • backdropcms.org