mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 08:26:37 +02:00

It was always a bit of a hack to use static methods on the qbehaviour_whatever classes to return metadata about the behaviour. It is better design to have real qbehaviour_whatever_type classes to report that metadata, particularly now that we are planning to add more such. For example, inheritance works better with real classes. See, for example, the improvements in question_engine::get_behaviour_unused_display_options(). This change has been implemented in a backwards-compatbile way. Old behaviours will continue to work. There will just be some developer debug output to prompt people to upgrade their code properly.
7 lines
No EOL
199 B
Text
7 lines
No EOL
199 B
Text
This files describes API changes for the core question system.
|
|
|
|
|
|
=== 2.4 ===
|
|
|
|
1) The method question_behaviour::is_manual_grade_in_range and move and become
|
|
question_engine::is_manual_grade_in_range. |