moodle/mod
2018-10-30 10:59:28 +08:00
..
assign Merge branch 'MDL-63531-35' of git://github.com/andrewnicols/moodle into MOODLE_35_STABLE 2018-10-30 10:50:46 +08:00
assignment MDL-63513 mod_assignment: Add removal of context users. 2018-10-22 12:56:37 +02:00
book MDL-63117 mod_book: Check if the module is visible to the user 2018-09-06 17:46:10 +10:00
chat MDL-63497 mod_chat: Add support for removal of context users 2018-10-22 12:56:43 +02:00
choice MDL-63665 mod_choice: no exception when course_modules doesn't exist 2018-10-26 18:49:35 +11:00
data MDL-63531 privacy: Update to comments provider to simplfy sql. 2018-10-30 09:47:14 +08:00
feedback MDL-63497 mod_feedback: Add support for removal of context users 2018-10-22 12:56:45 +02:00
folder MDL-63138 mod_folder: Check if the module is visible to the user 2018-09-07 15:06:28 +10:00
forum Merge branch 'MDL-62560-35' into MOODLE_35_STABLE 2018-10-22 12:58:00 +02:00
glossary MDL-63531 privacy: Update to comments provider to simplfy sql. 2018-10-30 09:47:14 +08:00
imscp MDL-63141 mod_imscp: Check if the module is visible to the user 2018-09-14 17:54:24 +10:00
label MDL-63142 mod_label: Check if the module is visible to the user 2018-09-14 17:55:57 +10:00
lesson MDL-63497 mod_lesson: Add support for removal of context users 2018-10-22 12:56:45 +02:00
lti Merge branch 'MDL-63730-35-enfix' of git://github.com/mudrd8mz/moodle into MOODLE_35_STABLE 2018-10-29 13:20:24 +01:00
page MDL-62478 upgrade: add 3.5.0 separation line to all upgrade scripts 2018-05-28 13:16:21 +02:00
quiz Merge branch 'MDL-63626-35' of git://github.com/rezaies/moodle into MOODLE_35_STABLE 2018-10-30 10:59:28 +08:00
resource MDL-62478 upgrade: add 3.5.0 separation line to all upgrade scripts 2018-05-28 13:16:21 +02:00
scorm MDL-63501 mod_scorm: Add support for removal of context users 2018-10-22 12:56:46 +02:00
survey MDL-63510 mod_survey: Add support for removal of context users 2018-10-22 12:56:46 +02:00
url MDL-62478 upgrade: add 3.5.0 separation line to all upgrade scripts 2018-05-28 13:16:21 +02:00
wiki MDL-63531 privacy: Update to comments provider to simplfy sql. 2018-10-30 09:47:14 +08:00
workshop MDL-63730 lang: Merge English strings from the en_fix language pack 2018-10-26 13:40:07 +02:00
index.html
README.txt
upgrade.txt MDL-58768 core: Fix a typo for callback name 2018-07-31 16:15:38 +10: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