moodle/mod
2008-11-06 16:10:04 +00:00
..
assignment MDL-15666: assignment portfolio unit tests should not try and use file-ish assignment types yet 2008-10-13 10:18:43 +00:00
chat "MDL-11371, The View past chat sessions should not appear if there haven't been any." 2008-10-15 09:03:30 +00:00
choice MDL-17050 excorising $_POST - thanks to mikec for patch - also check groupmode before bothering to get groupstuff to save some trees. 2008-10-31 00:53:28 +00:00
data MDL-17130 dml: eliminated $CFG->dbfamily 2008-11-05 00:12:30 +00:00
feedback MDL-17008 - added a function to access the _form member 2008-11-06 16:10:04 +00:00
forum MDL-17130 dml: eliminated $CFG->dbfamily 2008-11-05 00:12:30 +00:00
glossary MDL-16669 dml: improved sql_substring(), added unit tests 2008-10-28 15:11:10 +00:00
hotpot MDL-16300: use cache to minimize the use of "get_users_by_capability()" 2008-10-30 07:40:00 +00:00
label MDL-16676 All references to the text.html and emoticons.html files need to be updated to point to text2.html and emoticons2.html 2008-09-25 10:04:01 +00:00
lesson MDL-16506 Fixed error when deleting the only page in the Lesson. Credit goes to Chris Bertagne for the patch. Merged from 1.9 2008-10-09 11:07:34 +00:00
quiz MDL-14209 "quiz stats report:Seperation of functionality and unit tests for calculations" Unit tests for the grade stats calculations. 2008-10-29 10:09:55 +00:00
resource MDL-10021: display iframe when the resource is on another domain, merged from 19 2008-11-04 05:19:01 +00:00
scorm MDL-17128 SCORM backuplib generates invalid XML - causes backup to fail. thanks to Mark Nielsen for patch. 2008-11-04 20:33:03 +00:00
survey MDL-16002 rewritten upgrade locking and better upgrade progress tracking; MDL-16070 Do not use $a[0] syntax in lang packs + various other upgrade improvements and fixes 2008-08-16 12:16:01 +00:00
wiki MDL-17130 dml: eliminated $CFG->dbfamily 2008-11-05 00:12:30 +00:00
index.html To stop people browsing modules 2005-01-23 04:15:13 +00:00
README.txt MDL-14679 fixed references to mod.html 2008-06-01 19:09:13 +00:00

ACTIVITY MODULES
----------------

These are main modules in Moodle, allowing various activities.


Each of these modules contains a number of expected components:

  mod_form.php: a form to setup/update a module instance

  version.php: defines some meta-info and provides upgrading code

  icon.gif: a 16x16 icon for the module

  db/mysql.sql: an SQL dump of all the required db tables and data
 
  index.php: a page to list all instances in a course

  view.php: a page to view a particular instance

  lib.php: any/all functions defined by the module should be in here.
         constants should be defined using MODULENAME_xxxxxx
         functions should be defined using modulename_xxxxxx

         There are a number of standard functions:

         modulename_add_instance()
         modulename_update_instance()
         modulename_delete_instance()

         modulename_user_complete()
         modulename_user_outline()

         modulename_cron()

         modulename_print_recent_activity()


If you are a developer and interested in developing new Modules see:
  
   Moodle Documentation:  http://moodle.org/doc
   Moodle Community:      http://moodle.org/community