moodle/mod
2013-02-03 20:27:39 +13:00
..
assign MDL-37726 remove PREVIOUS/NEXT from all install.xml files 2013-01-29 22:34:46 +01:00
assignment MDL-37726 remove PREVIOUS/NEXT from all install.xml files 2013-01-29 22:34:46 +01:00
book MDL-37726 remove PREVIOUS/NEXT from all install.xml files 2013-01-29 22:34:46 +01:00
chat MDL-37726 remove PREVIOUS/NEXT from all install.xml files 2013-01-29 22:34:46 +01:00
choice MDL-37726 remove PREVIOUS/NEXT from all install.xml files 2013-01-29 22:34:46 +01:00
data MDL-37726 remove PREVIOUS/NEXT from all install.xml files 2013-01-29 22:34:46 +01:00
feedback Revert "MDL-37613 mod: changed generalbox class in table to generaltable class in mod/feedback (2 files);mod/glossary (3 files);mod/wiki (1 file)." 2013-01-31 15:02:12 +08:00
folder MDL-37726 remove PREVIOUS/NEXT from all install.xml files 2013-01-29 22:34:46 +01:00
forum MDL-37726 remove PREVIOUS/NEXT from all install.xml files 2013-01-29 22:34:46 +01:00
glossary Revert "MDL-37613 mod: changed generalbox class in table to generaltable class in mod/feedback (2 files);mod/glossary (3 files);mod/wiki (1 file)." 2013-01-31 15:02:12 +08:00
imscp MDL-37726 remove PREVIOUS/NEXT from all install.xml files 2013-01-29 22:34:46 +01:00
label MDL-37726 remove PREVIOUS/NEXT from all install.xml files 2013-01-29 22:34:46 +01:00
lesson MDL-37726 remove PREVIOUS/NEXT from all install.xml files 2013-01-29 22:34:46 +01:00
lti MDL-37726 remove PREVIOUS/NEXT from all install.xml files 2013-01-29 22:34:46 +01:00
page MDL-37726 remove PREVIOUS/NEXT from all install.xml files 2013-01-29 22:34:46 +01:00
quiz MDL-37726 remove PREVIOUS/NEXT from all install.xml files 2013-01-29 22:34:46 +01:00
resource MDL-37726 remove PREVIOUS/NEXT from all install.xml files 2013-01-29 22:34:46 +01:00
scorm MDL-29207 SCORM: Auto-continue doesn't work with Pre-req due to JS errors 2013-02-03 20:27:39 +13:00
survey MDL-37726 remove PREVIOUS/NEXT from all install.xml files 2013-01-29 22:34:46 +01:00
url MDL-37726 remove PREVIOUS/NEXT from all install.xml files 2013-01-29 22:34:46 +01:00
wiki Revert "MDL-37613 mod: changed generalbox class in table to generaltable class in mod/feedback (2 files);mod/glossary (3 files);mod/wiki (1 file)." 2013-01-31 15:02:12 +08:00
workshop MDL-37726 remove PREVIOUS/NEXT from all install.xml files 2013-01-29 22:34:46 +01:00
index.html
README.txt
upgrade.txt MDL-29996 remove deprecated stuff from filter code 2012-12-30 17:02:18 +01: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