moodle/question/behaviour/interactive
Tim Hunt f3460297a9 MDL-32188 question engine: behaviour static methods -> new classes
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.
2013-10-04 12:15:01 +01:00
..
lang/en MDL-20636 Fix some more codechecker issues. 2011-05-14 22:53:25 +01:00
tests MDL-38311 questions: manual grading API should accept commentformat 2013-03-05 11:51:47 +00:00
behaviour.php MDL-32188 question engine: behaviour static methods -> new classes 2013-10-04 12:15:01 +01:00
behaviourtype.php MDL-32188 question engine: behaviour static methods -> new classes 2013-10-04 12:15:01 +01:00
renderer.php MDL-20636 Fix some more codechecker issues. 2011-05-14 22:53:25 +01:00
version.php MDL-39434 Bump all versions near 2.5 release 2013-05-01 18:03:29 +02:00