function views_handler_sort_group_by_numeric::init

cis7 views_handler_sort_group_by_numeric.inc views_handler_sort_group_by_numeric::init(&$view, &$options)
cle7 views_handler_sort_group_by_numeric.inc views_handler_sort_group_by_numeric::init(&$view, &$options)
elmsmedia7 views_handler_sort_group_by_numeric.inc views_handler_sort_group_by_numeric::init(&$view, &$options)
icor7 views_handler_sort_group_by_numeric.inc views_handler_sort_group_by_numeric::init(&$view, &$options)
meedjum_blog7 views_handler_sort_group_by_numeric.inc views_handler_sort_group_by_numeric::init(&$view, &$options)
mooc7 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

sites/all/modules/ulmus/views/handlers/views_handler_sort_group_by_numeric.inc, line 14
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);
}
Error | ELMSLN API

Error

×

Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/elmsln_community/api.elmsln.org/includes/common.inc:2791) in drupal_send_headers() (line 1499 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).
  • Error: Call to undefined function apc_delete() in DrupalAPCCache->clear() (line 289 of /var/www/html/elmsln_community/api.elmsln.org/sites/all/modules/apc/drupal_apc_cache.inc).
The website encountered an unexpected error. Please try again later.