function views_handler_sort::sort_options in Views (for Drupal 7) 6.3
Same name and namespace in other branches
- 7.3 handlers/views_handler_sort.inc \views_handler_sort::sort_options()
Provide a list of options for the default sort form. Should be overridden by classes that don't override sort_form
1 call to views_handler_sort::sort_options()
- views_handler_sort::show_sort_form in handlers/
views_handler_sort.inc - Shortcut to display the value form.
File
- handlers/
views_handler_sort.inc, line 120
Class
- views_handler_sort
- Base sort handler that has no options and performs a simple sort
Code
function sort_options() {
return array(
'ASC' => t('Sort ascending'),
'DESC' => t('Sort descending'),
);
}