function views_handler_sort_group_by_numeric::init

Same name in other branches
  1. 7.x-3.x handlers/views_handler_sort_group_by_numeric.inc \views_handler_sort_group_by_numeric::init()

Overrides views_handler::init

File

handlers/views_handler_sort_group_by_numeric.inc, line 8

Class

views_handler_sort_group_by_numeric
Handler for GROUP BY on simple numeric fields.

Code

function init(&$view, $options) {
    parent::init($view, $options);
    // Initialize the original handler.
    $this->handler = views_get_handler($options['table'], $options['field'], 'sort');
    $this->handler
        ->init($view, $options);
}