moodle/mod
2016-05-20 13:53:26 +08:00
..
assign Merge branch 'MDL-54623-master' of git://github.com/junpataleta/moodle 2016-05-20 13:53:26 +08:00
assignment MDL-54638 versions: bump all versions and requires near release 2016-05-19 02:16:15 +02:00
book Merge branch 'MDL-54627_master' of git://github.com/dmonllao/moodle 2016-05-19 10:59:06 +01:00
chat MDL-54638 versions: bump all versions and requires near release 2016-05-19 02:16:15 +02:00
choice MDL-54638 versions: bump all versions and requires near release 2016-05-19 02:16:15 +02:00
data MDL-54638 versions: bump all versions and requires near release 2016-05-19 02:16:15 +02:00
feedback MDL-54638 versions: bump all versions and requires near release 2016-05-19 02:16:15 +02:00
folder MDL-54638 versions: bump all versions and requires near release 2016-05-19 02:16:15 +02:00
forum Merge branch 'MDL-54627_master' of git://github.com/dmonllao/moodle 2016-05-19 10:59:06 +01:00
glossary Merge branch 'MDL-54627_master' of git://github.com/dmonllao/moodle 2016-05-19 10:59:06 +01:00
imscp MDL-54638 versions: bump all versions and requires near release 2016-05-19 02:16:15 +02:00
label MDL-54638 versions: bump all versions and requires near release 2016-05-19 02:16:15 +02:00
lesson MDL-54638 versions: bump all versions and requires near release 2016-05-19 02:16:15 +02:00
lti MDL-53988 mod_lti: Remove popup for duplicate url 2016-05-20 12:06:03 +08:00
page Merge branch 'MDL-54627_master' of git://github.com/dmonllao/moodle 2016-05-19 10:59:06 +01:00
quiz MDL-54638 versions: bump all versions and requires near release 2016-05-19 02:16:15 +02:00
resource MDL-54638 versions: bump all versions and requires near release 2016-05-19 02:16:15 +02:00
scorm MDL-54638 versions: bump all versions and requires near release 2016-05-19 02:16:15 +02:00
survey MDL-54638 versions: bump all versions and requires near release 2016-05-19 02:16:15 +02:00
url MDL-54638 versions: bump all versions and requires near release 2016-05-19 02:16:15 +02:00
wiki Merge branch 'MDL-54627_master' of git://github.com/dmonllao/moodle 2016-05-19 10:59:06 +01:00
workshop MDL-54638 versions: bump all versions and requires near release 2016-05-19 02:16:15 +02:00
index.html
README.txt
upgrade.txt MDL-51267 mod: move the changes from the API to the form file 2016-04-19 16:36:26 +08: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