moodle/mod
2012-01-19 18:35:37 +01:00
..
assignment Merge branch 'MDL-29266' of git://github.com/bostelm/moodle 2012-01-03 11:09:19 +13:00
chat MDL-30610 remove outdated mod upgrade code 2011-12-23 10:38:11 +01:00
choice MDL-30610 remove outdated mod upgrade code 2011-12-23 10:38:11 +01:00
data MDL-30610 remove outdated mod upgrade code 2011-12-23 10:38:11 +01:00
feedback Merge branch 'MDL-30851_master_wip' of git://github.com/grabs/moodle 2012-01-02 20:23:11 +01:00
folder MDL-30610 remove outdated mod upgrade code 2011-12-23 10:38:11 +01:00
forum MDL-30610 remove outdated mod upgrade code 2011-12-23 10:38:11 +01:00
glossary MDL-30610 remove outdated mod upgrade code 2011-12-23 10:38:11 +01:00
imscp MDL-30610 remove outdated mod upgrade code 2011-12-23 10:38:11 +01:00
label MDL-30610 remove outdated mod upgrade code 2011-12-23 10:38:11 +01:00
lesson MDL-30610 remove outdated mod upgrade code 2011-12-23 10:38:11 +01:00
lti Merge branch 'MDL-27200' of git://github.com/timhunt/moodle 2012-01-03 11:12:14 +13:00
page MDL-30610 remove outdated mod upgrade code 2011-12-23 10:38:11 +01:00
quiz MDL-29091 quiz - switch to use moodle_url::out_as_local_url 2012-01-19 18:35:35 +01:00
resource MDL-30610 remove outdated mod upgrade code 2011-12-23 10:38:11 +01:00
scorm MDL-30578, Updating CMILongIdentifer to check for valid URI (RFC 3986 [6]) and URN syntax as per RFC 2141 [3] 2012-01-19 18:35:37 +01:00
survey MDL-30610 remove outdated mod upgrade code 2011-12-23 10:38:11 +01:00
url MDL-30610 remove outdated mod upgrade code 2011-12-23 10:38:11 +01:00
wiki MDL-30610 remove outdated mod upgrade code 2011-12-23 10:38:11 +01:00
workshop MDL-31124 reinstroduce accidentally removed restore code for 1.9 backups 2012-01-19 18:35:35 +01: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