function quiz_admin_quizzes in Quiz 7
Same name and namespace in other branches
- 8.4 quiz.admin.inc \quiz_admin_quizzes()
- 6.6 quiz.admin.inc \quiz_admin_quizzes()
- 6.3 quiz.admin.inc \quiz_admin_quizzes()
- 6.4 quiz.admin.inc \quiz_admin_quizzes()
- 6.5 quiz.admin.inc \quiz_admin_quizzes()
- 7.4 quiz.admin.inc \quiz_admin_quizzes()
Displays the quizzes by title with a link to the appropriate results for that specific quiz.
Return value
Formatted data.
1 string reference to 'quiz_admin_quizzes'
- quiz_menu in ./
quiz.module - Implements hook_menu().
File
- ./
quiz.admin.inc, line 343 - Administrator interface for Quiz module.
Code
function quiz_admin_quizzes() {
global $user;
$uid = $user->uid;
if (user_access('view any quiz results')) {
$uid = NULL;
}
$results = _quiz_get_quizzes($uid);
return theme('quiz_admin_quizzes', array(
'results' => $results,
));
}