moodle/mod
2017-05-01 14:28:55 +01:00
..
assign Merge branch 'MDL-58632-master' of https://github.com/xow/moodle 2017-05-01 14:26:37 +08:00
assignment MDL-57266 upgrade: add 3.2.0 separation line to all upgrade scripts 2016-12-05 17:10:20 +01:00
book MDL-57457 mod_book: Chapters are not userdata plus some improvements 2017-04-21 10:06:09 +08:00
chat Merge branch 'MDL-58507_master' of git://github.com/markn86/moodle 2017-04-17 10:42:48 +01:00
choice Merge branch 'wip-MDL-58731-master' of git://github.com/marinaglancy/moodle 2017-04-28 10:29:50 +08:00
data Merge branch 'wip-MDL-58731-master' of git://github.com/marinaglancy/moodle 2017-04-28 10:29:50 +08:00
feedback MDL-55468 mod_feedback: revive export analysis to excel 2017-05-01 14:28:55 +01:00
folder MDL-58501 mod_*: improved docs for new calendar callbacks 2017-04-12 17:43:52 +08:00
forum MDL-58731 modules: display intro on the course page 2017-04-28 09:14:25 +08:00
glossary MDL-58731 modules: display intro on the course page 2017-04-28 09:14:25 +08:00
imscp MDL-58501 mod_*: improved docs for new calendar callbacks 2017-04-12 17:43:52 +08:00
label MDL-58501 mod_*: improved docs for new calendar callbacks 2017-04-12 17:43:52 +08:00
lesson Merge branch 'wip-MDL-58731-master' of git://github.com/marinaglancy/moodle 2017-04-28 10:29:50 +08:00
lti Merge branch 'MDL-58374-master-ltierrorlog' of git://github.com/mudrd8mz/moodle 2017-04-18 16:46:12 +01:00
page MDL-58501 mod_*: improved docs for new calendar callbacks 2017-04-12 17:43:52 +08:00
quiz Merge branch 'wip-MDL-58731-master' of git://github.com/marinaglancy/moodle 2017-04-28 10:29:50 +08:00
resource Merge branch 'MDL-58501_master' of git://github.com/markn86/moodle 2017-04-13 13:21:42 +08:00
scorm MDL-58731 modules: display intro on the course page 2017-04-28 09:14:25 +08:00
survey MDL-58731 modules: display intro on the course page 2017-04-28 09:14:25 +08:00
url MDL-58501 mod_*: improved docs for new calendar callbacks 2017-04-12 17:43:52 +08:00
wiki MDL-58139 completion: bulk update completion 2017-04-19 08:52:57 +08:00
workshop Merge branch 'MDL-51932-master-workshopswitch' of git://github.com/mudrd8mz/moodle 2017-04-24 08:34:06 +08:00
index.html
README.txt
upgrade.txt MDL-58138 completion: Fixes for a number of small issues. 2017-04-19 11:41:57 +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