class views_handler_sort_hosting_package_site_count in Hosting 6.2
Sort handler for package site counts.
Hierarchy
- class \views_handler_sort_hosting_package_site_count extends \views_handler_sort
Expanded class hierarchy of views_handler_sort_hosting_package_site_count
1 string reference to 'views_handler_sort_hosting_package_site_count'
- hosting_package_views_data in package/
views/ hosting_package.views.inc - Implementation of hook_views_data().
File
- package/
views/ views_handler_sort_hosting_package_site_count.inc, line 6
View source
class views_handler_sort_hosting_package_site_count extends views_handler_sort {
/**
* Called to add the sort to a query.
*/
function query() {
// Add the field.
$this->query
->add_orderby(NULL, NULL, $this->options['order'], $this->field);
}
}
Members
Name![]() |
Modifiers | Type | Description | Overrides |
---|---|---|---|---|
views_handler_sort_hosting_package_site_count:: |
function | Called to add the sort to a query. |