moodle/mod
2021-04-12 14:45:59 +08:00
..
assign MDL-70820 mod_assign: custom completion implementation 2021-04-07 12:17:30 +08:00
assignment MDL-69308 upgrade: remove all the < 3.6.0 upgrade steps 2021-01-13 19:11:19 +01:00
book MDL-71036 phpunit: Renamed various regexp-related assertions 2021-03-11 19:22:24 +01:00
chat MDL-71099 Lib: Move new user_fields class from core to core_user 2021-03-25 13:47:23 +00:00
choice MDL-70817 mod_choice: Behat tests for the activity completion info 2021-04-02 21:53:20 +08:00
data MDL-70820 mod_data: custom completion implementation 2021-04-07 12:17:30 +08:00
feedback MDL-70820 mod_feedback: custom completion implementation 2021-04-07 12:17:30 +08:00
folder MDL-69308 upgrade: remove all the < 3.6.0 upgrade steps 2021-01-13 19:11:19 +01:00
forum Merge branch 'MDL-70821-master-5' of git://github.com/junpataleta/moodle 2021-04-12 14:45:59 +08:00
glossary MDL-70820 mod_glossary: custom completion implementation 2021-04-07 12:17:30 +08:00
h5pactivity MDL-70980 mod_h5pactivity: fix review mode 2021-03-22 10:52:44 +01:00
imscp MDL-70896 mod: libxml_disable_entity_loader is deprecated in php 8.0 2021-02-15 18:58:56 +01:00
label MDL-69308 upgrade: remove all the < 3.6.0 upgrade steps 2021-01-13 19:11:19 +01:00
lesson Merge branch 'MDL-70821-master-5' of git://github.com/junpataleta/moodle 2021-04-12 14:45:59 +08:00
lti Merge branch 'MDL-70896-master' of git://github.com/marinaglancy/moodle 2021-03-18 00:34:05 +01:00
page MDL-69308 upgrade: remove all the < 3.6.0 upgrade steps 2021-01-13 19:11:19 +01:00
quiz Merge branch 'MDL-70821-master-5' of git://github.com/junpataleta/moodle 2021-04-12 14:45:59 +08:00
resource MDL-69308 upgrade: remove all the < 3.6.0 upgrade steps 2021-01-13 19:11:19 +01:00
scorm MDL-70935 mod_scorm: Custom completion implementation 2021-04-07 15:09:36 +08:00
survey Merge branch 'MDL-70821-master-5' of git://github.com/junpataleta/moodle 2021-04-12 14:45:59 +08:00
url MDL-69308 upgrade: remove all the < 3.6.0 upgrade steps 2021-01-13 19:11:19 +01:00
wiki MDL-71036 phpunit: Renamed various regexp-related assertions 2021-03-11 19:22:24 +01:00
workshop MDL-71099 Lib: Move new user_fields class from core to core_user 2021-03-25 13:47:23 +00:00
index.html
README.txt
upgrade.txt MDL-68645 output: Do not apply filters when creating calendar events 2020-05-13 10:03:01 +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