class QuizStatsController in Quiz 8.4
Hierarchy
- class \Drupal\quiz_stats\Controller\QuizStatsController implements ContainerInjectionInterface
Expanded class hierarchy of QuizStatsController
File
- modules/
quiz_stats/ lib/ Drupal/ quiz_stats/ Controller/ QuizStatsController.php, line 11
Namespace
Drupal\quiz_stats\ControllerView source
class QuizStatsController implements ContainerInjectionInterface {
public static function create(ContainerInterface $container) {
return new static($container
->get('module_handler'));
}
public function quizStatistics() {
module_load_include('admin.inc', 'quiz_stats');
return quiz_stats_get_basic_stats();
}
public function quizStatisticsReport(NodeInterface $node) {
module_load_include('admin.inc', 'quiz_stats');
return quiz_stats_revision_selector_page($node);
}
public function quizStatisticsPage(NodeInterface $node, $vid) {
module_load_include('admin.inc', 'quiz_stats');
return quiz_stats_get_adv_stats($vid);
}
public function quizUserStatistics($uid) {
module_load_include('admin.inc', 'quiz_stats');
return quiz_stats_get_basic_stats($uid);
}
public function quizUserStatisticsView($vid) {
module_load_include('admin.inc', 'quiz_stats');
return quiz_stats_get_adv_stats($vid);
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
QuizStatsController:: |
public static | function |
Instantiates a new instance of this class. Overrides ContainerInjectionInterface:: |
|
QuizStatsController:: |
public | function | ||
QuizStatsController:: |
public | function | ||
QuizStatsController:: |
public | function | ||
QuizStatsController:: |
public | function | ||
QuizStatsController:: |
public | function |