You are here

class scald_views_handler_filter_atom_type in Scald: Media Management made easy 6

Same name and namespace in other branches
  1. 7 includes/scald_views_handler_filter_atom_type.inc \scald_views_handler_filter_atom_type

Filter by node type

Hierarchy

Expanded class hierarchy of scald_views_handler_filter_atom_type

1 string reference to 'scald_views_handler_filter_atom_type'
scald_views_data in includes/scald.views.inc
@file Provides support for the Views module.

File

includes/scald_views_handler_filter_atom_type.inc, line 5

View source
class scald_views_handler_filter_atom_type extends views_handler_filter_in_operator {
  function get_value_options() {
    if (!isset($this->value_options)) {
      $this->value_title = t('Atom type');

      //$types = node_get_types();
      $types = _scald_types();
      foreach ($types as $type => $info) {
        $options[$type] = t($info['title']);
      }
      $this->value_options = $options;
    }
  }

}

Members