moodle/mod
2019-08-19 14:13:45 +08:00
..
assign Merge branch 'MDL-65886-MOODLE-master' of https://github.com/kristian-94/moodle 2019-08-19 14:13:45 +08:00
assignment MDL-66022 core: Remove unused subplugin files 2019-06-27 08:18:24 +08:00
book MDL-66022 core: Remove unused subplugin files 2019-06-27 08:18:24 +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-65933 mod_data: Use new core/checkbox_toggleall 2019-08-02 16:30:39 +08:00
feedback MDL-62497 javascript: build AMD modules with new transpiler 2019-07-19 14:12:49 +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-65129 mod_forum: Behat test for favourited search 2019-08-14 14:59:35 +08:00
glossary MDL-64623 glossary: Check the entry id 2019-07-02 08:54:36 +02: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-65937 mod_lesson: Replace concatenated strings with lang strings 2019-08-02 16:24:56 +08:00
lti MDL-62497 javascript: build AMD modules with new transpiler 2019-07-19 14:12:49 +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-35939 mod_quiz: deprecate unused strings 2019-08-15 12:07:38 +10:00
resource MDL-66003 lang: Import fixed English strings (en_fix) 2019-06-25 18:00:51 +02:00
scorm MDL-65946 mod_scorm: Use new core/checkbox-toggleall 2019-07-19 10:21:30 +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-65644 upgrade: add 3.7.0 separation line to all upgrade scripts 2019-05-20 19:35:05 +02:00
workshop MDL-59524 general: Remove strings deprecated in 3.4 2019-08-12 00:13:08 +02: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