Petr Skoda
927010240f
MDL-31006 some more PHP54 notices
...
PHP54 compatibility - PhpStorm IDE is the best tool for this kind of work!!
2012-01-18 01:17:25 +01:00
Rajesh Taneja
912ea4bc84
MDL-27964 lesson - Quick fix added for importing question files in lesson module
2011-06-29 13:52:52 +08:00
Rajesh Taneja
ba15c346b1
MDL-27956 Lesson - Fixed strings and readquestions scope
2011-06-22 09:11:32 +08:00
Tim Hunt
55190d7e2c
MDL-20538 get rid of badly name-spaced constants from lib/questionlib.php.
...
Unfortunately, they are used all over the import/export code, so I cannot eliminate them completely. However, I was able to move them out of the core library.
2011-06-09 19:27:36 +01:00
Petr Skoda
39790bd805
MDL-24321 switching to stdClass in /mod/
2010-09-21 08:37:36 +00:00
Petr Skoda
64a3ce8c5b
improved coding style - mostly variable initialisation + some fixing and spelling
2010-09-18 13:27:21 +00:00
Petr Skoda
cc3dbaaa30
MDL-21249 improved php docs package+subpackage info in mod/lesson
2010-07-25 10:54:39 +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
Petr Skoda
2f67a9b3a5
MDL-20700 whitespace terror returns yet again
2009-12-16 22:22:37 +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
Petr Skoda
472e56620e
MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup
2009-11-01 15:17:21 +00:00
Petr Skoda
86342d631f
MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup
2009-11-01 15:03:10 +00:00
nicolasconnault
d68ccdbaaa
MDL-19812 Upgraded calls to helpbutton, print_simple_box* and notify
2009-08-18 05:15:52 +00:00
nicolasconnault
6dbcaceef1
MDL-19418 Replaced ereg* by preg*
2009-06-22 01:22:37 +00:00
skodak
6d40f12e5b
MDL-19067 removed obsoleted string (never used in any STABLE branch)
2009-05-05 09:05:27 +00:00
dongsheng
771dc7b298
"MDL-14129, fix error() in moodle2"
2008-12-12 05:45:43 +00:00
thepurpleblob
508fe4d8b5
MDL-17411
...
defaultquestion() now reflects the one in the question bank code, thus supressing
lots of notices
Merged from STABLE_19
2008-11-26 13:10:18 +00:00
dongsheng
1858ba0c67
"MDL-14129, fix print_error"
2008-06-12 11:52:15 +00:00
skodak
294ce9870f
MDL-15189 magic quotes finally removed
2008-06-09 16:53:30 +00:00
jerome
646fc29036
MDL-15112 lesson dml conversion
2008-06-06 04:03:40 +00:00
dongsheng
5a2a53316f
MDL-14129, remove all the other error() call
2008-04-04 02:54:20 +00:00
mark-nielsen
5491947aa1
NO CODE CHANGES. Just added PHPdoc comments at the top of lesson files.
2006-09-30 19:49:40 +00:00
mark-nielsen
90455bb3ab
[Fixed] Import. Updated code to work with /question instead of /mod/quiz. Lead to a few interal bug fixes. Also moved two hard coded strings to the lang file.
2006-03-26 00:10:39 +00:00
michaelpenne
f7ffb898fa
array/object initialization
2005-02-09 22:36:24 +00:00
michaelpenne
5e7856af58
Added a lot of new features to lesson mod. Check them out :)
...
MarkNielsen
2004-09-15 20:32:24 +00:00
gustav_delius
41905731b7
fixed capitalization and quoting of attribute values
2004-09-12 16:24:41 +00:00
gustav_delius
a9ef4a630a
closed <input /> <br /> <hr />
2004-09-12 14:41:49 +00:00
rkingdon
394c97c88b
Support for extra question types added; Flash Card style lessons now an
...
option.
2004-02-26 16:54:47 +00:00