function quiz_theme in Quiz 7
Same name and namespace in other branches
- 8.6 quiz.module \quiz_theme()
- 8.4 quiz.module \quiz_theme()
- 8.5 quiz.module \quiz_theme()
- 6.6 quiz.module \quiz_theme()
- 6.2 quiz.module \quiz_theme()
- 6.3 quiz.module \quiz_theme()
- 6.4 quiz.module \quiz_theme()
- 6.5 quiz.module \quiz_theme()
- 7.6 quiz.module \quiz_theme()
- 7.4 quiz.module \quiz_theme()
- 7.5 quiz.module \quiz_theme()
- 6.x quiz.module \quiz_theme()
Implements hook_theme().
File
- ./
quiz.module, line 491 - Quiz Module
Code
function quiz_theme() {
return array(
'quiz_view_stats' => array(
'variables' => array(
'node' => NULL,
),
'file' => 'quiz.pages.inc',
),
'quiz_categorized_form' => array(
'render element' => 'form',
'file' => 'quiz.admin.inc',
),
'quiz_get_user_results' => array(
'variables' => array(
'results' => NULL,
),
'file' => 'quiz.pages.inc',
),
'quiz_take_summary' => array(
'variables' => array(
'quiz' => NULL,
'questions' => NULL,
'score' => 0,
'summary' => '',
),
'file' => 'quiz.pages.inc',
),
'quiz_admin_summary' => array(
'variables' => array(
'quiz' => NULL,
'questions' => NULL,
'score' => NULL,
'summary' => NULL,
),
'file' => 'quiz.admin.inc',
),
'quiz_user_summary' => array(
'variables' => array(
'quiz' => NULL,
'questions' => NULL,
'score' => NULL,
'summary' => NULL,
),
'file' => 'quiz.pages.inc',
),
'quiz_progress' => array(
'variables' => array(
'question_number' => NULL,
'num_questions' => NULL,
'allow_jumping' => NULL,
'time_limit' => NULL,
),
'file' => 'quiz.pages.inc',
),
'quiz_no_feedback' => array(
'file' => 'quiz.pages.inc',
'variables' => array(),
),
'quiz_admin_quizzes' => array(
'file' => 'quiz.admin.inc',
'variables' => array(
'results' => NULL,
),
),
'quiz_single_question_node' => array(
'file' => 'quiz.pages.inc',
'variables' => array(
'question_node' => NULL,
),
),
'question_selection_table' => array(
'file' => 'quiz.admin.inc',
'render element' => 'form',
),
'quiz_score_correct' => array(
'file' => 'quiz.pages.inc',
'variables' => array(),
),
'quiz_score_incorrect' => array(
'file' => 'quiz.pages.inc',
'variables' => array(),
),
'quiz_question_browser' => array(
'render element' => 'form',
'path' => drupal_get_path('module', 'quiz') . '/theme',
'template' => 'quiz-question-browser',
),
'quiz_results_browser' => array(
'render element' => 'form',
'path' => drupal_get_path('module', 'quiz') . '/theme',
'template' => 'quiz-results-browser',
),
'quiz_report_form' => array(
'render element' => 'form',
'path' => drupal_get_path('module', 'quiz') . '/theme',
'template' => 'quiz-report-form',
),
'quiz_node_form' => array(
'render element' => 'form',
'file' => 'quiz.admin.inc',
),
'quiz_jumper' => array(
'variables' => array(
'current' => 0,
'num_questions' => 0,
),
'file' => 'quiz.admin.inc',
),
'quiz_my_results_for_quiz' => array(
'variables' => array(
'rows' => array(),
),
'file' => 'quiz.admin.inc',
),
);
}