You are here

function quiz_admin in Quiz 6.5

Same name and namespace in other branches
  1. 5.2 quiz.module \quiz_admin()
  2. 5 quiz.module \quiz_admin()
  3. 6.6 quiz.admin.inc \quiz_admin()
  4. 6.2 quiz.admin.inc \quiz_admin()
  5. 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);
}