hosting_task_handler_filter_status.inc

Classes

Namesort descending Description
hosting_task_handler_filter_status Filter by task type

File

task/includes/views/handlers/hosting_task_handler_filter_status.inc
View source
  1. <?php
  2. /**
  3. * Filter by task type
  4. */
  5. class hosting_task_handler_filter_status extends views_handler_filter_in_operator {
  6. function get_value_options() {
  7. if (!isset($this->value_options)) {
  8. $this->value_title = t('Task Status');
  9. $options = array();
  10. $error_codes = _hosting_task_error_codes();
  11. foreach ($error_codes as $code => $message) {
  12. $options[$code] = $message;
  13. }
  14. $this->value_options = $options;
  15. }
  16. }
  17. }