You are here

content_taxonomy_handler_filter_many_to_one.inc in Content Taxonomy 6

Same filename and directory in other branches
  1. 6.2 includes/views/content_taxonomy_handler_filter_many_to_one.inc

File

includes/views/content_taxonomy_handler_filter_many_to_one.inc
View source
<?php

/**
 * Subclass of views_handler_filter_many_to_one_content
 *
 * provides values for the filters
 * unsets the empty value for non required fields, which is added content_taxonomy_allowed_values
 */
class content_taxonomy_handler_filter_many_to_one extends content_handler_filter_many_to_one {
  var $content_field;
  function construct() {
    parent::construct();
  }
  function get_value_options() {
    $options = content_taxonomy_allowed_values($this->content_field);
    unset($options['']);
    $this->value_options = $options;
  }

}

Classes

Namesort descending Description
content_taxonomy_handler_filter_many_to_one Subclass of views_handler_filter_many_to_one_content