function _quiz_taxonomy_select in Quiz 6.6
Same name and namespace in other branches
- 5.2 quiz.module \_quiz_taxonomy_select()
- 5 quiz.module \_quiz_taxonomy_select()
- 6.2 quiz.module \_quiz_taxonomy_select()
- 6.3 quiz.module \_quiz_taxonomy_select()
- 6.4 quiz.module \_quiz_taxonomy_select()
- 6.5 quiz.module \_quiz_taxonomy_select()
- 7.6 quiz.module \_quiz_taxonomy_select()
- 7 quiz.module \_quiz_taxonomy_select()
- 7.4 quiz.module \_quiz_taxonomy_select()
- 7.5 quiz.module \_quiz_taxonomy_select()
Prints a taxonomy selection form for each vocabulary.
Parameters
$value: Default selected value(s).
Return value
HTML output to print to screen.
1 call to _quiz_taxonomy_select()
- quiz_questions_form in ./
quiz.admin.inc - Handles "manage questions" tab.
File
- ./
quiz.module, line 2388 - Quiz Module
Code
function _quiz_taxonomy_select($value = 0) {
$options = array();
foreach (_quiz_get_vocabularies() as $vid => $vocabulary) {
$temp = taxonomy_form($vid, $value);
$options = array_merge($options, $temp['#options']);
}
return $options;
}