moodle/mod
2021-12-22 16:59:13 +01:00
..
assign MDL-73348 phpunit: normalize all privacy provider tests 2021-12-17 14:21:09 +01:00
assignment MDL-73348 phpunit: normalize all privacy provider tests 2021-12-17 14:21:09 +01:00
book MDL-72179 behat: Make use of page resolvers 2021-07-26 15:14:24 +08:00
chat MDL-73348 phpunit: normalize all privacy provider tests 2021-12-17 14:21:09 +01:00
choice MDL-73348 phpunit: normalize all privacy provider tests 2021-12-17 14:21:09 +01:00
data MDL-73348 phpunit: normalize all privacy provider tests 2021-12-17 14:21:09 +01:00
feedback MDL-73348 phpunit: normalize all privacy provider tests 2021-12-17 14:21:09 +01:00
folder MDL-72179 behat: Make use of page resolvers 2021-07-26 15:14:24 +08:00
forum MDL-73348 phpunit: normalize all privacy provider tests 2021-12-17 14:21:09 +01:00
glossary Merge branch 'MDL-73348_311' of https://github.com/stronk7/moodle into MOODLE_311_STABLE 2021-12-22 21:20:15 +11:00
h5pactivity MDL-73348 phpunit: normalize all privacy provider tests 2021-12-17 14:21:09 +01:00
imscp MDL-72179 behat: Make use of page resolvers 2021-07-26 15:14:24 +08:00
label MDL-71638 upgrade: add 3.10.0 separation line to all upgrade scripts 2021-05-16 00:00:43 +02:00
lesson MDL-73348 phpunit: normalize all privacy provider tests 2021-12-17 14:21:09 +01:00
lti Merge branch 'MDL-69023-M311_mod-lti-conflicts-with-text-alignment-in-chat-messages' of https://github.com/ziegenberg/moodle into MOODLE_311_STABLE 2021-12-22 16:28:05 +01:00
page MDL-70823 mod: safely parse module display options array. 2021-11-03 16:57:15 +01:00
quiz MDL-73348 phpunit: normalize all privacy provider tests 2021-12-17 14:21:09 +01:00
resource MDL-70823 mod: safely parse module display options array. 2021-11-03 16:57:15 +01:00
scorm MDL-73348 phpunit: normalize all privacy provider tests 2021-12-17 14:21:09 +01:00
survey MDL-73348 phpunit: normalize all privacy provider tests 2021-12-17 14:21:09 +01:00
url MDL-73195 mod_url: prevent invalid urls from breaking the course 2021-12-02 16:58:15 +08:00
wiki MDL-73348 phpunit: normalize all privacy provider tests 2021-12-17 14:21:09 +01:00
workshop Merge branch 'MDL-73380-311' of git://github.com/paulholden/moodle into MOODLE_311_STABLE 2021-12-22 16:59:13 +01: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