You are here

function hs_taxonomy_views_handler_filter_term_node_tid::select_type_is_hierarchical_select in Hierarchical Select 6.3

Check whether the "Selection type" (in the configuration of the exposed filter) is Hierarchical Select.

This function is used in almost every overridden method to determine whether our custom logic should be used or the parent class's, i.e. the parent method in the views_handler_filter_term_node_tid class.

4 calls to hs_taxonomy_views_handler_filter_term_node_tid::select_type_is_hierarchical_select()
hs_taxonomy_views_handler_filter_term_node_tid::accept_exposed_input in modules/hs_taxonomy_views_handler_filter_term_node_tid.inc
Take input from exposed filters and assign to this handler, if necessary.
hs_taxonomy_views_handler_filter_term_node_tid::exposed_validate in modules/hs_taxonomy_views_handler_filter_term_node_tid.inc
Validate the exposed filter form
hs_taxonomy_views_handler_filter_term_node_tid::expose_form_right in modules/hs_taxonomy_views_handler_filter_term_node_tid.inc
hs_taxonomy_views_handler_filter_term_node_tid::value_form in modules/hs_taxonomy_views_handler_filter_term_node_tid.inc

File

modules/hs_taxonomy_views_handler_filter_term_node_tid.inc, line 249
This file defines a new filter handler for using Hierarchical Select in exposed Taxonomy term filters.

Class

hs_taxonomy_views_handler_filter_term_node_tid
@file This file defines a new filter handler for using Hierarchical Select in exposed Taxonomy term filters.

Code

function select_type_is_hierarchical_select() {
  return $this->options['type'] == 'hierarchical_select';
}