You are here

class flag_lists_handler_filter_template in Flag Lists 6

Same name and namespace in other branches
  1. 7.3 includes/flag_lists_handler_filter_template.inc \flag_lists_handler_filter_template
  2. 7 includes/flag_lists_handler_filter_template.inc \flag_lists_handler_filter_template

Filter by list template

Hierarchy

Expanded class hierarchy of flag_lists_handler_filter_template

1 string reference to 'flag_lists_handler_filter_template'
flag_lists_views_data_alter in includes/flag_lists.views.inc
Implementation of hook_views_data_alter().

File

includes/flag_lists_handler_filter_template.inc, line 5

View source
class flag_lists_handler_filter_template extends views_handler_filter_in_operator {
  function get_value_options() {
    if (!isset($this->value_options)) {
      $this->value_title = t('List templates');
      $templates = flag_lists_get_templates();
      foreach ($templates as $template) {
        $options[$template->name] = $template->name;
      }
      $this->value_options = $options;
    }
  }

}

Members