moodle/mod
2017-05-05 12:01:06 +08:00
..
assign Merge branch 'MDL-55371-master' of git://github.com/jleyva/moodle 2017-05-05 09:57:40 +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-58665 dashboard: use bigger course object for completion 2017-05-01 16:59:07 +08:00
chat Merge branch 'MDL-58507_master' of git://github.com/markn86/moodle 2017-04-17 10:42:48 +01:00
choice MDL-58172 mod_choice: Make export choice respect id fields 2017-05-03 10:49:01 +08:00
data MDL-58665 mod_data: cache times in modinfo for performance 2017-05-01 12:57:22 +08:00
feedback MDL-58772 behat: change step to 3.2 and up alternative 2017-05-05 00:14:31 +02:00
folder MDL-58665 dashboard: use bigger course object for completion 2017-05-01 16:59:07 +08:00
forum MDL-58259 mod_forum: Check create attachment cap in forum_add_attachment 2017-05-05 10:28:11 +08:00
glossary MDL-58749 lang: Merge English strings from the en_fix language pack 2017-05-03 22:05:51 +02:00
imscp MDL-58665 dashboard: use bigger course object for completion 2017-05-01 16:59:07 +08:00
label MDL-58665 dashboard: use bigger course object for completion 2017-05-01 16:59:07 +08:00
lesson Merge branch 'MDL-58431-master' of git://github.com/jleyva/moodle 2017-05-04 11:01:39 +08:00
lti MDL-58665 dashboard: use bigger course object for completion 2017-05-01 16:59:07 +08:00
page MDL-58665 dashboard: use bigger course object for completion 2017-05-01 16:59:07 +08:00
quiz MDL-58796 mod_quiz: add handling for fontawesome icons 2017-05-04 13:51:14 +08:00
resource MDL-58665 dashboard: use bigger course object for completion 2017-05-01 16:59:07 +08:00
scorm MDL-58665 mod_scorm: cache times in modinfo for performance 2017-05-01 16:59:04 +08:00
survey MDL-58665 dashboard: use bigger course object for completion 2017-05-01 16:59:07 +08:00
url MDL-58665 dashboard: use bigger course object for completion 2017-05-01 16:59:07 +08:00
wiki MDL-58749 lang: Merge English strings from the en_fix language pack 2017-05-03 22:05:51 +02: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