function quiz_admin in Quiz 6.5
Same name and namespace in other branches
- 5.2 quiz.module \quiz_admin()
- 5 quiz.module \quiz_admin()
- 6.6 quiz.admin.inc \quiz_admin()
- 6.2 quiz.admin.inc \quiz_admin()
- 6.3 quiz.admin.inc \quiz_admin()
Quiz Admin.
1 string reference to 'quiz_admin'
- quiz_menu in ./
quiz.module - Implementation of hook_menu().
File
- ./
quiz.admin.inc, line 15 - Administrator interface for Quiz module.
Code
function quiz_admin($nid) {
$breadcrumb = drupal_get_breadcrumb();
//lets add the Quiz Results to the breadcrumb array
$breadcrumb[] = l(t('Quiz Results'), 'admin/quiz/results');
drupal_set_breadcrumb($breadcrumb);
$results = _quiz_get_results($nid);
return theme('quiz_admin', $results);
}