moodle/mod
2004-12-11 00:54:37 +00:00
..
assignment Replaced prefix_ with CFG->prefix for DROP of indexes before creation because of being inside execute_sql rather than modify_database - assignment module 2004-11-18 02:33:49 +00:00
attendance Replaced prefix_ with CFG->prefix for DROP of indexes before creation because of being inside execute_sql rather than modify_database - attendance module 2004-11-18 02:35:42 +00:00
chat FIx for display of first session, from stable 2004-12-08 13:47:06 +00:00
choice Replaced prefix_ with CFG->prefix for DROP of indexes before creation because of being inside execute_sql rather than modify_database - choice module 2004-11-18 02:39:16 +00:00
dialogue Merged from MOODLE_14_STABLE: Fixed bug in dialogue where plain text email notification had no break between the url and the ---- that was causing GET requests like mod/dialogue/view.php?id=foo--------- and subsequent invalid sql 2004-11-24 23:51:04 +00:00
exercise Replaced prefix_ with CFG->prefix for DROP of indexes before creation because of being inside execute_sql rather than modify_database - exercise module 2004-11-18 02:42:33 +00:00
forum Merged lastpostid from stable 2004-11-30 02:53:08 +00:00
glossary Now search function look into aliases too. 2004-12-11 00:54:37 +00:00
journal Merged from MOODLE_14_STABLE: Indexes for journal and version bump (honoring partial freeze) 2004-11-19 02:02:38 +00:00
label Merged from MOODLE_14_STABLE: Indexes for label and version bump (honoring partial freeze) 2004-11-19 03:05:38 +00:00
lesson fix class stats for essay questions 2004-12-06 20:33:44 +00:00
quiz Bug in export of multichoice-multianswer questions fixed. 2004-12-09 16:18:23 +00:00
resource Merged from MOODLE_14_STABLE: Indexes for resource and version bump (honoring partial freeze) 2004-11-19 05:00:40 +00:00
scorm Merged from stable 2004-11-26 15:42:05 +00:00
survey Changes for XHTML and accessibility compatibility 2004-11-26 07:07:06 +00:00
wiki Modified to ouput proper XHTML - especially if it already was XHTML. 2004-12-08 22:05:44 +00:00
workshop Now teachers can again grade assessments. Also various tweaks of admin interface. This is work in progress. Heavy testing and further development will take place during the coming days, so consider this code as unstable. 2004-12-09 09:34:43 +00:00
README.txt Removing the newmodule template from this directory and putting it 2004-02-12 06:41:17 +00:00

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

These are main modules in Moodle, allowing various activities.


Each of these modules contains a number of expected components:

  mod.html: 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