moodle/mod
2019-09-20 09:50:17 +08:00
..
assign Merge branch 'MDL-66537-master' of git://github.com/peterRd/moodle 2019-09-10 12:18:16 +08:00
assignment MDL-66022 core: Remove unused subplugin files 2019-06-27 08:18:24 +08:00
book Merge branch 'MDL-65653-master' of git://github.com/jleyva/moodle 2019-08-27 15:07:50 +08:00
chat MDL-65517 block_timeline: Hide completed course modules in Timeline 2019-07-12 09:16:40 +10:00
choice Merge branch 'MDL-65928-master-2' of git://github.com/junpataleta/moodle 2019-07-17 10:21:37 +08:00
data MDL-66733 grade: Add helper to get correct user date for grade 2019-09-20 09:50:17 +08:00
feedback MDL-65935 mod_feedback: Use new core/checkbox_toggleall 2019-09-08 10:01:05 +08:00
folder MDL-65644 upgrade: add 3.7.0 separation line to all upgrade scripts 2019-05-20 19:35:05 +02:00
forum MDL-66733 grade: Add helper to get correct user date for grade 2019-09-20 09:50:17 +08:00
glossary MDL-66733 grade: Add helper to get correct user date for grade 2019-09-20 09:50:17 +08:00
imscp MDL-62835 resource: Display description for book, lesson and imscp 2019-06-04 13:26:28 +08:00
label MDL-65644 upgrade: add 3.7.0 separation line to all upgrade scripts 2019-05-20 19:35:05 +02:00
lesson MDL-66733 grade: Add helper to get correct user date for grade 2019-09-20 09:50:17 +08:00
lti MDL-66369 libraries: Remove [modname]_scale_used functions 2019-08-16 11:56:17 +08:00
page MDL-65644 upgrade: add 3.7.0 separation line to all upgrade scripts 2019-05-20 19:35:05 +02:00
quiz MDL-66733 grade: Add helper to get correct user date for grade 2019-09-20 09:50:17 +08:00
resource MDL-66003 lang: Import fixed English strings (en_fix) 2019-06-25 18:00:51 +02:00
scorm MDL-66733 grade: Add helper to get correct user date for grade 2019-09-20 09:50:17 +08:00
survey MDL-62497 javascript: build AMD modules with new transpiler 2019-07-19 14:12:49 +08:00
url MDL-65644 upgrade: add 3.7.0 separation line to all upgrade scripts 2019-05-20 19:35:05 +02:00
wiki MDL-66369 libraries: Remove [modname]_scale_used functions 2019-08-16 11:56:17 +08:00
workshop MDL-66369 libraries: Remove [modname]_scale_used functions 2019-08-16 11:56:17 +08:00
index.html
README.txt
upgrade.txt MDL-57487 course: final deprecation external::get_activities_overview 2019-06-14 17:41:18 +02: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