You are here

function efq_views_extract_delta in EntityFieldQuery Views Backend 7

Cast values to int if necessary and create delta.

Parameters

$handler: The Views handler object.

$value: The value for the operation. Can be a scalar or an array.

$delta: The input value is disregarded, it's only used for returning delta.

Return value

Same as $value, casted to int if necessary.

3 calls to efq_views_extract_delta()
efq_views_handler_filter_field_in_operator::op_simple in handlers/efq_views_handler_filter_field_in_operator.inc
efq_views_handler_filter_field_numeric::op_between in handlers/efq_views_handler_filter_field_numeric.inc
efq_views_handler_filter_field_numeric::op_simple in handlers/efq_views_handler_filter_field_numeric.inc

File

./efq_views.views.inc, line 451

Code

function efq_views_extract_delta($handler) {
  return isset($handler->options['delta']) && is_numeric($handler->options['delta']) ? $handler->options['delta'] : NULL;
}