moodle/mod
2004-12-15 07:08:31 +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 bug 2285: chatd shows all chat users as present in every chatroom 2004-12-15 07:08:31 +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 fix from stable for wrong function 2004-12-14 11:08:04 +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 new handling of uploaded files, please TEST, TEST, TEST 2004-12-14 18:57:51 +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 Merge from MOODLE_14_STABLE - Fixed SC#30 - credits go to skodak 2004-12-13 06:48:57 +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 Fixed some warnings for foreach() on empty array, when upgrading a site 2004-12-13 18:32:20 +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