You are here

function views_handler_field_group_by_numeric::init in Views (for Drupal 7) 6.3

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_field::init

File

handlers/views_handler_field_group_by_numeric.inc, line 7

Class

views_handler_field_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'], 'field');
  $this->handler
    ->init($view, $options);
}