moodle/mod
2009-04-20 19:57:04 +00:00
..
assignment MDL-18910 normalised module intro and introformat 2009-04-20 18:51:37 +00:00
chat MDL-18910 normalised module intro and introformat 2009-04-20 18:39:24 +00:00
choice MDL-18910 normalised module intro and introformat 2009-04-20 19:57:04 +00:00
data MDL-18910 normalised module intro and introformat 2009-04-20 19:57:04 +00:00
feedback MDL-18910 normalised module intro and introformat 2009-04-20 19:57:04 +00:00
forum MDL-18910 normalised module intro and introformat 2009-04-20 19:57:04 +00:00
glossary MDL-18910 normalised module intro and introformat 2009-04-20 19:57:04 +00:00
hotpot MDL-18880: only insert media players for swf URLs if $CFG->filter_mediaplugin_enable_swf is set 2009-04-19 23:49:04 +00:00
label MDL-17037 ran all GIF images through gifsicle and PNG through optipng 2009-04-05 23:33:00 +00:00
lesson MDL-17037 ran all GIF images through gifsicle and PNG through optipng 2009-04-05 23:33:00 +00:00
quiz MDL-18910 normalised module intro and introformat 2009-04-20 19:29:15 +00:00
resource MDL-18910 normalised module intro and introformat 2009-04-20 19:42:38 +00:00
scorm MDL-18910 normalised module intro and introformat 2009-04-20 19:57:04 +00:00
survey MDL-17037 ran all GIF images through gifsicle and PNG through optipng 2009-04-05 23:33:00 +00:00
wiki MDL-17037 ran all GIF images through gifsicle and PNG through optipng 2009-04-05 23:33:00 +00:00
index.html
README.txt MDL-14679 fixed references to mod.html 2008-06-01 19:09:13 +00:00
upgrade.txt MDL-18900 reimplemented trusttext - now using separate db field; the API will be improved and documented together with the new support functions needed for new Editor element 2009-04-20 11:37:39 +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