moodle/mod
2011-12-08 10:22:34 +13:00
..
assignment MDL-30007 standardise assignment subplugin lang files 2011-12-01 00:42:25 +01:00
chat MDL-30007 standardise module version files 2011-11-29 21:38:14 +01:00
choice Merge branch 'MDL-30007' of git://github.com/stronk7/moodle 2011-12-01 17:14:52 +13:00
data MDL-30007 standardise data preset subplugin version and lang files 2011-11-30 03:46:17 +01:00
feedback MDL-30007 standardise module version files 2011-11-29 21:38:14 +01:00
folder MDL-30007 standardise module version files 2011-11-29 21:38:14 +01:00
forum Merge branch 'wip-MDL-19147-master' of git://github.com/abgreeve/moodle 2011-12-07 14:20:48 +13:00
glossary Merge branch 'MDL-30007' of git://github.com/stronk7/moodle 2011-12-01 17:14:52 +13:00
imscp MDL-30007 standardise module version files 2011-11-29 21:38:14 +01:00
label MDL-30007 standardise module version files 2011-11-29 21:38:14 +01:00
lesson Merge branch 'MDL-30007' of git://github.com/stronk7/moodle 2011-12-01 17:14:52 +13:00
lti MDL-30007 standardise module version files 2011-11-29 21:38:14 +01:00
page MDL-30007 standardise module version files 2011-11-29 21:38:14 +01:00
quiz Merge branch 'MDL-30007' of git://github.com/stronk7/moodle 2011-12-01 17:14:52 +13:00
resource MDL-30007 standardise module version files 2011-11-29 21:38:14 +01:00
scorm Merge branch 'MDL-28282-master' of git://github.com/ankitagarwal/moodle 2011-12-08 10:22:34 +13:00
survey MDL-30007 standardise module version files 2011-11-29 21:38:14 +01:00
url MDL-30007 standardise module version files 2011-11-29 21:38:14 +01:00
wiki MDL-30007 standardise module version files 2011-11-29 21:38:14 +01:00
workshop Merge branch 'MDL-30007' of git://github.com/stronk7/moodle 2011-12-01 17:14:52 +13:00
index.html
README.txt
upgrade.txt MDL-29897 Update upgrade.txt files 2011-11-03 08:11:55 +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