]> git.mjollnir.org Git - moodle.git/commit
MDL-6368 and MDL-6369 - allow question type plugins to easily provide some bits of...
authortjhunt <tjhunt>
Thu, 12 Apr 2007 15:58:32 +0000 (15:58 +0000)
committertjhunt <tjhunt>
Thu, 12 Apr 2007 15:58:32 +0000 (15:58 +0000)
commit99ba746d29d428b4b442061243d0ff39ca90dda4
tree7e0294bd29789f99a523480cbc1dc2230ba72099
parent73710a46799f5f7035418a4a074a19f92dcdd46b
MDL-6368 and MDL-6369 - allow question type plugins to easily provide some bits of Javascript and CSS.

If there are any of the files styles.css, styles.php, script.js or script.php in the plugin folder, they will be linked to in the head of the quiz attempt page (only for the question types used on that page).

If you need to do something more complicated in your question type, you can override the get_html_head_contributions method instead.
lib/questionlib.php
mod/quiz/attempt.php
question/type/questiontype.php
question/type/random/questiontype.php