function views_handler_sort_group_by_numeric::init in Views (for Drupal 7) 6.3
Same name and namespace in other branches
- 7.3 handlers/views_handler_sort_group_by_numeric.inc \views_handler_sort_group_by_numeric::init()
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
- 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);
}