hosting_package_handler_sort_site_count.inc

Classes

Namesort descending Description
hosting_package_handler_sort_site_count Sort handler for package site counts.

File

package/includes/views/handlers/hosting_package_handler_sort_site_count.inc
View source
  1. <?php
  2. /**
  3. * Sort handler for package site counts.
  4. */
  5. class hosting_package_handler_sort_site_count extends views_handler_sort {
  6. /**
  7. * Called to add the sort to a query.
  8. */
  9. function query() {
  10. // Add the field.
  11. $this->query->add_orderby(NULL, NULL, $this->options['order'], $this->field);
  12. }
  13. }