You are here

function hierarchical_select_ahah in Hierarchical Select 5

Menu callback; AHAH callback: generates and outputs the appropriate HTML.

2 string references to 'hierarchical_select_ahah'
hierarchical_select_menu in ./hierarchical_select.module
Implementation of hook_menu().
hierarchical_select_process in ./hierarchical_select.module
Hierarchical select form element processing function.

File

./hierarchical_select.module, line 79
This module defines the "hierarchical_select" form element, which is a greatly enhanced way for letting the user select an option in a hierarchy. Out of the box, this module supports the taxonomy and content_taxonomy modules, but that…

Code

function hierarchical_select_ahah() {
  $params = $_POST;
  unset($params['module'], $params['hsid'], $params['selection'], $params['required']);
  $required = strcasecmp($_POST['required'], 'TRUE') == 0;
  print _hierarchical_select_render($_POST['hsid'], $_POST['module'], $_POST['selection'], FALSE, TRUE, $required, $params);
  exit;
}