1 |
efrain |
1 |
This files describes API changes in /mod/quiz/report/statistics/*,
|
|
|
2 |
information provided here is intended especially for developers.
|
|
|
3 |
|
|
|
4 |
=== 4.3 ===
|
|
|
5 |
|
|
|
6 |
* The methods quiz_statistics_report::calculate_questions_stats_for_question_bank and get_all_stats_and_analysis
|
|
|
7 |
(which are really private to the quiz, and not part of any API you should be using) now have a new
|
|
|
8 |
optional argument $calculateifrequired.
|
|
|
9 |
|
|
|
10 |
* In the past, the methods \quiz_statistics\calculator::get_last_calculated_time() and calculator::get_cached()
|
|
|
11 |
only returned the pre-computed statistics if they were computed less than 15 minutes ago. Now, they will
|
|
|
12 |
always return any computed statistics that exist. Therefore, the constant calculator::TIME_TO_CACHE has been
|
|
|
13 |
deprecated.
|
|
|
14 |
|
|
|
15 |
|
|
|
16 |
=== 3.2 ===
|
|
|
17 |
|
|
|
18 |
* The function quiz_statistics_graph_get_new_colour() is deprecated in favour of the
|
|
|
19 |
funtionality present in the new charting library.
|
|
|
20 |
* The function quiz_statistics_renumber_placeholders() is removed as the changes
|
|
|
21 |
in MDL-31243 and MDL-27072 make this redundant.
|