moodle/mod
2011-05-24 16:01:00 +02:00
..
assignment Activity module handler get_moduleid() replaced with get_cminfo() 2011-05-24 16:01:00 +02:00
chat CSS MDL-26013 Fixed several display bugs when using right to left languages 2011-04-14 15:56:10 +08:00
choice Activity module handler get_moduleid() replaced with get_cminfo() 2011-05-24 16:01:00 +02:00
data MDL-26704 Fixed up variable typo 2011-05-18 15:32:40 +08:00
feedback Merge branch 'MDL-26075_head' of git://github.com/grabs/moodle 2011-05-16 11:51:41 +08:00
folder MDL-25708 recordsets - folder module 2011-01-25 19:59:00 +01:00
forum Activity module handler get_moduleid() replaced with get_cminfo() 2011-05-24 16:01:00 +02:00
glossary MDL-26704 Fixed up variable typo 2011-05-18 15:32:40 +08:00
imscp MDL-25708 recordsets - imscp and lesson modules 2011-01-25 19:59:01 +01:00
label MDL-26623 fix file permissions 2011-03-01 12:26:49 +01:00
lesson Merge branch 'MDL-27386_HEAD2' of git://github.com/rwijaya/moodle 2011-05-17 14:19:23 +02:00
page MDL-25708 recordsets - page and quiz modules 2011-01-25 19:59:01 +01:00
quiz MDL-26704 gradebook: adding TODO comment to avoid forgetting 2011-05-17 11:58:22 +02:00
resource MDL-26697 multiple media filtering fixes and improvements 2011-03-12 17:42:52 +01:00
scorm MDL-26704 gradebook: adding TODO comment to avoid forgetting 2011-05-17 11:58:22 +02:00
survey MDL-26623 fix file permissions 2011-03-01 12:26:49 +01:00
url MDL-27253 add default swf size and allow #d=100x50 URL resizing in mod/url 2011-04-21 20:35:48 +02:00
wiki MDL-26854 COMMENT 2011-05-04 17:23:46 +08:00
workshop MDL-26778 Change to completion should immediately affect nav block 2011-04-11 12:40:13 +01:00
index.html
README.txt
upgrade.txt fixed typo 2010-09-05 21:05:20 +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

  pix/icon.gif: a 16x16 icon for the module

  db/install.xml: 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