1 views_handler_sort_group_by_numeric.inc views_handler_sort_group_by_numeric::init(&$view, &$options)

init the handler with necessary data.

Parameters

$view: The $view object this handler is attached to.

$options: The item from the database; the actual contents of this will vary based upon the type of handler.

Overrides views_handler::init

File

core/modules/views/handlers/views_handler_sort_group_by_numeric.inc, line 13
Definition of views_handler_sort_group_by_numeric.

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);
}