function quiz_stats_theme in Quiz 8.5
Same name and namespace in other branches
- 8.6 modules/quiz_stats/quiz_stats.module \quiz_stats_theme()
- 8.4 modules/quiz_stats/quiz_stats.module \quiz_stats_theme()
- 6.4 includes/quiz_stats/quiz_stats.module \quiz_stats_theme()
- 7.6 modules/quiz_stats/quiz_stats.module \quiz_stats_theme()
- 7 includes/quiz_stats/quiz_stats.module \quiz_stats_theme()
- 7.4 includes/quiz_stats/quiz_stats.module \quiz_stats_theme()
- 7.5 modules/quiz_stats/quiz_stats.module \quiz_stats_theme()
- 6.x modules/quiz_stats/quiz_stats.module \quiz_stats_theme()
Implements hook_theme().
File
- modules/
quiz_stats/ quiz_stats.module, line 91 - Quiz stats.
Code
function quiz_stats_theme() {
$path = drupal_get_path('module', 'quiz_stats') . '/theme';
return array(
'quiz_stats_get_basic_stats' => array(
'variables' => array(
'results' => NULL,
),
'file' => 'quiz_stats.admin.inc',
),
'date_vs_takeup_count' => array(
'variables' => array(
'takeup' => NULL,
),
'file' => 'quiz_stats.admin.inc',
),
'get_quiz_status_chart' => array(
'variables' => array(
'quiz' => NULL,
),
'file' => 'quiz_stats.admin.inc',
),
'quiz_top_scorers' => array(
'variables' => array(
'scorer' => NULL,
),
'file' => 'quiz_stats.admin.inc',
),
'quiz_grade_range' => array(
'variables' => array(
'range' => NULL,
),
'file' => 'quiz_stats.admin.inc',
),
'quiz_stats_revision_selector' => array(
'variables' => array(
'content' => NULL,
),
'path' => $path,
'template' => 'quiz_stats_revision_selector',
),
'quiz_stats_charts' => array(
'variables' => array(
'charts' => NULL,
),
'path' => $path,
'template' => 'quiz_stats_charts',
),
);
}