moodle/mod
2012-01-25 01:40:20 +01:00
..
assignment Merge branch 'MDL-29266' of git://github.com/bostelm/moodle 2012-01-03 11:09:19 +13:00
chat MDL-31006 fix various notices in PHP54 2012-01-18 01:03:20 +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 MDL-31006 fix various notices in PHP54 2012-01-18 01:03:20 +01:00
folder MDL-30610 remove outdated mod upgrade code 2011-12-23 10:38:11 +01:00
forum Merge branch 'w04_MDL-31081_m23_forumindex' of git://github.com/skodak/moodle 2012-01-23 21:17:54 +01:00
glossary Merge branch 'w04_MDL-31183_m23_gloscounts' of git://github.com/skodak/moodle 2012-01-24 12:24:46 +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-31006 some more PHP54 notices 2012-01-18 01:17:25 +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 Merge branch 'MDL-31205' of git://github.com/timhunt/moodle 2012-01-24 11:29:08 +08:00
resource MDL-31121 File resource: add options to display file type and size 2012-01-19 12:52:38 +00:00
scorm MDL-30578, Updating CMILongIdentifer read comments at tracker 2012-01-16 00:10:22 +05:30
survey MDL-31006 some more PHP54 notices 2012-01-18 01:17:25 +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-31333 backup: reintroduce missing function lost by MDL-30610 2012-01-23 01:56:43 +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