5 Commits

Author SHA1 Message Date
Petr Skoda
cc3dbaaa30 MDL-21249 improved php docs package+subpackage info in mod/lesson 2010-07-25 10:54:39 +00:00
Petr Skoda
21b8089c8b MDL-22028 multichoice is now default new question type - anything is better that the horrible essay type 2010-07-25 10:40:17 +00:00
Petr Skoda
1e7f8ea232 MDL-23510 lib.php files have to be as small as possible, the actual implementation should be in locallib.php if possible === less used memory, fewer includes, ....; + coding style cleanup 2010-07-24 18:56:56 +00:00
David Mudrak
4c80a990fa MDL-21695 Lesson module now uses new help strings
AMOS BEGIN
 HLP lesson/activitylink.html,[activitylink_help,mod_lesson]
 HLP lesson/custom.html,[customscoring_help,mod_lesson]
 HLP lesson/dependency.html,[dependencyon_help,mod_lesson]
 HLP lesson/displayleft.html,[displayleftmenu_help,mod_lesson]
 HLP lesson/displayleftif.html,[displayleftif_help,mod_lesson]
 HLP lesson/feedback.html,[displaydefaultfeedback_help,mod_lesson]
 HLP lesson/grade.html,[maxgrade_help,mod_lesson]
 HLP lesson/handlingofretakes.html,[handlingofretakes_help,mod_lesson]
 HLP lesson/import.html,[importquestions_help,mod_lesson]
 HLP lesson/importppt.html,[importppt_help,mod_lesson]
 HLP lesson/jumpto.html,[jumps_help,mod_lesson]
 HLP lesson/maxanswers.html,[maximumnumberofanswersbranches_help,mod_lesson]
 HLP lesson/maxattempts.html,[maximumnumberofattempts_help,mod_lesson]
 HLP lesson/maxpages.html,[numberofpagestoshow_help,mod_lesson]
 HLP lesson/mediafile.html,[mediafile_help,mod_lesson]
 HLP lesson/minquestions.html,[minimumnumberofquestions_help,mod_lesson]
 HLP lesson/modattempts.html,[modattempts_help,mod_lesson]
 HLP lesson/mods.html,[modulename_help,mod_lesson]
 HLP lesson/nextpageaction.html,[actionaftercorrectanswer_help,mod_lesson]
 HLP lesson/ongoing.html,[ongoing_help,mod_lesson]
 HLP lesson/overview.html,[overview_help,mod_lesson]
 HLP lesson/practice.html,[practice_help,mod_lesson]
 HLP lesson/progressbar.html,[progressbar_help,mod_lesson]
 HLP lesson/questionoption.html,[multianswer_help,mod_lesson]
 HLP lesson/questionoption.html,[casesensitive_help,mod_lesson]
 HLP lesson/retake.html,[retakesallowed_help,mod_lesson]
 HLP lesson/review.html,[displayreview_help,mod_lesson]
 HLP lesson/slideshow.html,[slideshow_help,mod_lesson]
 HLP lesson/timed.html,[maxtime_help,mod_lesson]
 HLP lesson/usepassword.html,[usepassword_help,mod_lesson]
AMOS END
2010-05-03 14:14:34 +00:00
Sam Hemelryk
0a4abb7306 mod-lesson MDL-21006 Huge refactoring of the lesson code
The following are notable changes made in this commit
* Lesson page type are now class based and extend an abstract class. This includes a class for the page type and a class for the creating/editing a instance of this page.
* Converted all forms to mforms
* Action script located in mod/action/* were worked into the above so far less switch statements and the action directory will be removed.
* Implements a custom renderer
* Converted everything to use page, output, and custom renderer methods
* Replaced all deprecated methods incl. print_textarea conversions
* Tried to cut down on excessive DB calls.
Things worth noting:
* The focus of this patch was on cleaning up the module not rewriting it, as such I have organized NOT rewritten. There are still many areas in the module where the code could be greatly improved however to do so would require a rethink/rewrite
2009-12-16 02:00:48 +00:00