class hosting_package_handler_filter_type

Views filter class to filter by package type.

Hierarchy

Expanded class hierarchy of hosting_package_handler_filter_type

Members

Contains filters are case sensitive

File

package/includes/views/handlers/hosting_package_handler_filter_type.inc, line 10
Define a views filter for the Package management module.

View source
class hosting_package_handler_filter_type extends views_handler_filter_in_operator {
  function get_value_options() {
    if (!isset($this->value_options)) {
      $this->value_title = t('Package Type');
      $types = _hosting_package_types();
      foreach ($types as $type => $name) {
        $options[$type] = $name;
      }
      $this->value_options = $options;
    }
  }
}