moodle/mod
2019-10-21 12:18:19 +02:00
..
assign Merge branch 'MDL-65774-master2' of git://github.com/peterRd/moodle 2019-10-21 10:48:12 +02:00
assignment MDL-66022 core: Remove unused subplugin files 2019-06-27 08:18:24 +08:00
book MDL-65026 course: Fix modules intro formatting in WS 2019-09-16 13:04:26 +02:00
chat MDL-65026 course: Fix modules intro formatting in WS 2019-09-16 13:04:26 +02:00
choice MDL-66874 mod_choice: Explicitly add btn-secondary class to select all 2019-10-14 11:27:19 +08:00
data MDL-66496 mod_data: Fixes during integration 2019-10-17 12:20:54 +08:00
feedback MDL-66009 mod_feedback: Nested dependency fails again 2019-10-17 09:19:55 +02:00
folder MDL-65026 course: Fix modules intro formatting in WS 2019-09-16 13:04:26 +02:00
forum Merge branch 'MDL-66631-master-test' of git://github.com/rezaies/moodle 2019-10-21 12:18:19 +02:00
glossary Merge branch 'MDL-66733-master' of git://github.com/andrewnicols/moodle 2019-09-23 23:35:42 +02:00
imscp MDL-65957 mod_imscp: Add required @file_upload tag in behat scenarios 2019-10-01 09:35:53 +08:00
label MDL-65026 course: Fix modules intro formatting in WS 2019-09-16 13:04:26 +02:00
lesson Merge branch 'MDL-65968-master' of git://github.com/jleyva/moodle 2019-09-24 12:01:10 +08:00
lti MDL-65026 course: Fix modules intro formatting in WS 2019-09-16 13:04:26 +02:00
page MDL-65026 course: Fix modules intro formatting in WS 2019-09-16 13:04:26 +02:00
quiz Merge branch 'MDL-66962-master' of https://github.com/lucaboesch/moodle 2019-10-21 14:22:57 +08:00
resource MDL-65026 course: Fix modules intro formatting in WS 2019-09-16 13:04:26 +02:00
scorm Merge branch 'MDL-66733-master' of git://github.com/andrewnicols/moodle 2019-09-23 23:35:42 +02:00
survey MDL-65026 course: Fix modules intro formatting in WS 2019-09-16 13:04:26 +02:00
url MDL-65026 course: Fix modules intro formatting in WS 2019-09-16 13:04:26 +02:00
wiki MDL-65026 course: Fix modules intro formatting in WS 2019-09-16 13:04:26 +02:00
workshop MDL-65026 course: Fix modules intro formatting in WS 2019-09-16 13:04:26 +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