function views_handler_field::click_sort

cis7 views_handler_field.inc views_handler_field::click_sort($order)
cle7 views_handler_field.inc views_handler_field::click_sort($order)
elmsmedia7 views_handler_field.inc views_handler_field::click_sort($order)
icor7 views_handler_field.inc views_handler_field::click_sort($order)
meedjum_blog7 views_handler_field.inc views_handler_field::click_sort($order)
mooc7 views_handler_field.inc views_handler_field::click_sort($order)

Called to determine what to tell the clicksorter.

9 methods override views_handler_field::click_sort()
entity_views_handler_field_boolean::click_sort in sites/all/modules/ulmus/entity/views/handlers/entity_views_handler_field_boolean.inc
Adds a click-sort to the query.
entity_views_handler_field_date::click_sort in sites/all/modules/ulmus/entity/views/handlers/entity_views_handler_field_date.inc
Adds a click-sort to the query.
entity_views_handler_field_duration::click_sort in sites/all/modules/ulmus/entity/views/handlers/entity_views_handler_field_duration.inc
Adds a click-sort to the query.
entity_views_handler_field_entity::click_sort in sites/all/modules/ulmus/entity/views/handlers/entity_views_handler_field_entity.inc
Adds a click-sort to the query.
entity_views_handler_field_numeric::click_sort in sites/all/modules/ulmus/entity/views/handlers/entity_views_handler_field_numeric.inc
Adds a click-sort to the query.

... See full list

File

sites/all/modules/ulmus/views/handlers/views_handler_field.inc, line 165
@todo.

Class

views_handler_field
Base field handler that has no options and renders an unformatted field.

Code

function click_sort($order) {
  if (isset($this->field_alias)) {
    // Since fields should always have themselves already added, just
    // add a sort on the field.
    $params = $this->options['group_type'] != 'group' ? array('function' => $this->options['group_type']) : array();
    $this->query->add_orderby(NULL, NULL, $order, $this->field_alias, $params);
  }
}
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.