function quiz_categorized_term_ahah in Quiz 6.4
Same name and namespace in other branches
- 8.4 quiz.admin.inc \quiz_categorized_term_ahah()
- 7.6 quiz.admin.inc \quiz_categorized_term_ahah()
- 7 quiz.admin.inc \quiz_categorized_term_ahah()
- 7.4 quiz.admin.inc \quiz_categorized_term_ahah()
- 7.5 quiz.admin.inc \quiz_categorized_term_ahah()
Ahah function for finding terms...
Parameters
string $start: The start of the string we are looking for
1 string reference to 'quiz_categorized_term_ahah'
- quiz_menu in ./
quiz.module - Implementation of hook_menu().
File
- ./
quiz.admin.inc, line 753 - Administrator interface for Quiz module.
Code
function quiz_categorized_term_ahah($start) {
$terms = _quiz_search_terms($start, $start == '*');
$to_json = array();
foreach ($terms as $key => $value) {
$to_json["{$value} (id:{$key})"] = $value;
}
drupal_json($to_json);
}