function quiz_questions in Quiz 6.4
Same name and namespace in other branches
- 8.4 quiz.admin.inc \quiz_questions()
- 5.2 quiz.module \quiz_questions()
- 5 quiz.module \quiz_questions()
- 6.6 quiz.admin.inc \quiz_questions()
- 6.2 quiz.admin.inc \quiz_questions()
- 6.3 quiz.admin.inc \quiz_questions()
- 6.5 quiz.admin.inc \quiz_questions()
- 7.6 quiz.admin.inc \quiz_questions()
- 7 quiz.admin.inc \quiz_questions()
- 7.4 quiz.admin.inc \quiz_questions()
Creates a form for quiz questions.
Handles the manage questions tab.
Parameters
$node: The quiz node we are managing questions for.
Return value
String containing the form.
1 string reference to 'quiz_questions'
- quiz_menu in ./
quiz.module - Implementation of hook_menu().
File
- ./
quiz.admin.inc, line 498 - Administrator interface for Quiz module.
Code
function quiz_questions($node) {
// Set page title.
drupal_set_title(check_plain($node->title));
if ($node->randomization < 3) {
return drupal_get_form('quiz_questions_form', $node);
}
else {
return drupal_get_form('quiz_categorized_form', $node);
}
}