You are here

constant FACETAPI_REGEX_DATE_RANGE in Facet API 6

Same name and namespace in other branches
  1. 6.3 facetapi.module \FACETAPI_REGEX_DATE_RANGE
  2. 7.2 facetapi.module \FACETAPI_REGEX_DATE_RANGE
  3. 7 facetapi.module \FACETAPI_REGEX_DATE_RANGE

Regex pattern for date ranges.

1 use of FACETAPI_REGEX_DATE_RANGE
facetapi_facetapi_value_date_alter in ./facetapi.module
Implementation of hook_facetapi_value_QUERY_TYPE_alter().

File

./facetapi.module, line 66
An abstracted facet API that can be used by various search backens.

Code

define('FACETAPI_REGEX_DATE_RANGE', '/^\\[(' . trim(FACETAPI_REGEX_DATE, '/^$') . ') TO (' . trim(FACETAPI_REGEX_DATE, '/^$') . ')\\]$/');