moodle/mod
2017-04-19 08:56:11 +08:00
..
assign MDL-58138 tests: unit and behat tests covering bulk and default tabs 2017-04-19 08:56:11 +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-58501 mod_*: improved docs for new calendar callbacks 2017-04-12 17:43:52 +08:00
chat Merge branch 'MDL-58507_master' of git://github.com/markn86/moodle 2017-04-17 10:42:48 +01:00
choice MDL-58138 tests: unit and behat tests covering bulk and default tabs 2017-04-19 08:56:11 +08:00
data MDL-58501 mod_*: improved docs for new calendar callbacks 2017-04-12 17:43:52 +08:00
feedback MDL-58138 tests: unit and behat tests covering bulk and default tabs 2017-04-19 08:56:11 +08:00
folder MDL-58501 mod_*: improved docs for new calendar callbacks 2017-04-12 17:43:52 +08:00
forum MDL-58138 tests: unit and behat tests covering bulk and default tabs 2017-04-19 08:56:11 +08:00
glossary MDL-58138 tests: unit and behat tests covering bulk and default tabs 2017-04-19 08:56:11 +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 MDL-58138 tests: unit and behat tests covering bulk and default tabs 2017-04-19 08:56:11 +08:00
lti MDL-58501 mod_*: improved docs for new calendar callbacks 2017-04-12 17:43:52 +08:00
page MDL-58501 mod_*: improved docs for new calendar callbacks 2017-04-12 17:43:52 +08:00
quiz MDL-58138 tests: unit and behat tests covering bulk and default tabs 2017-04-19 08:56:11 +08:00
resource Merge branch 'MDL-58501_master' of git://github.com/markn86/moodle 2017-04-13 13:21:42 +08:00
scorm MDL-58138 tests: unit and behat tests covering bulk and default tabs 2017-04-19 08:56:11 +08:00
survey MDL-58138 tests: unit and behat tests covering bulk and default tabs 2017-04-19 08:56:11 +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 MDL-58501 mod_*: improved docs for new calendar callbacks 2017-04-12 17:43:52 +08:00
index.html
README.txt
upgrade.txt MDL-58501 mod_*: improved docs for new calendar callbacks 2017-04-12 17:43:52 +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