function _date_views_argument_range_handler in Date 5.2
Same name and namespace in other branches
- 5 date_views.inc \_date_views_argument_range_handler()
2 calls to _date_views_argument_range_handler()
- date_views_argument_range_handler in date/
date.module - _date_views_timestamp_argument_range_handler in date/
date_views.inc - Flexible date range argument handler.
File
- date/
date_views.inc, line 382
Code
function _date_views_argument_range_handler($op, &$query, $argtype, $arg = '', $field_type = DATE_ISO) {
require_once './' . drupal_get_path('module', 'date_api') . '/date_api_sql.inc';
// Switch to the function that matches the requested $op.
$function = '_date_views_argument_' . $op;
return $function($query, $argtype, $arg, $field_type);
}