function _quiz_taxonomy_select in Quiz 5
Same name and namespace in other branches
- 5.2 quiz.module \_quiz_taxonomy_select()
- 6.6 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
File
- ./
quiz.module, line 1018 - Quiz Module
Code
function _quiz_taxonomy_select($value = 0) {
$form = array();
foreach (_quiz_get_vocabularies() as $vid => $vocabulary) {
$form['taxonomy'][$vid] = taxonomy_form($vid, $value);
}
return $form;
}