moodle/mod
2021-08-26 09:58:15 +08:00
..
assign Merge branch 'primary_secondary_nav' of https://github.com/Chocolate-lightning/moodle 2021-08-25 10:42:57 +08:00
assignment Merge branch 'MDL-71619' of https://github.com/paulholden/moodle 2021-05-18 22:59:13 +02:00
book Merge branch 'primary_secondary_nav' of https://github.com/Chocolate-lightning/moodle 2021-08-25 10:42:57 +08:00
chat MDL-71209 behat: Fix behat for new changes 2021-08-20 16:49:06 +02:00
choice MDL-69588 mod: Additional Behat step fixes 2021-08-25 10:35:33 +08:00
data MDL-69588 mod: Additional Behat step fixes 2021-08-25 10:35:33 +08:00
feedback Merge branch 'primary_secondary_nav' of https://github.com/Chocolate-lightning/moodle 2021-08-25 10:42:57 +08:00
folder MDL-72179 behat: Make use of page resolvers 2021-07-26 15:14:28 +08:00
forum MDL-69588 core: Activity navigation fixes 2021-08-26 09:58:15 +08:00
glossary MDL-69588 accessibility: Address review points 2021-08-23 17:47:24 +08:00
h5pactivity MDL-71055 behat: Update core settings to use generator 2021-08-23 12:23:03 +08:00
imscp MDL-72179 behat: Make use of page resolvers 2021-07-26 15:14:28 +08:00
label MDL-71583 versions: Add all the missing full-stops to version/requires 2021-05-11 20:11:07 +02:00
lesson MDL-70196 navigation: Update to feature files. 2021-08-23 17:46:38 +08:00
lti MDL-70196 navigation: Update to feature files. 2021-08-23 17:46:38 +08:00
page MDL-72179 behat: Make use of page resolvers 2021-07-26 15:14:28 +08:00
quiz Merge branch 'primary_secondary_nav' of https://github.com/Chocolate-lightning/moodle 2021-08-25 10:42:57 +08:00
resource MDL-72179 behat: Make use of page resolvers 2021-07-26 15:14:28 +08:00
scorm MDL-71209 behat: Fix behat for new changes 2021-08-20 16:49:06 +02:00
survey MDL-71209 behat: Fix behat for new changes 2021-08-20 16:49:06 +02:00
url MDL-72179 behat: Make use of page resolvers 2021-07-26 15:14:28 +08:00
wiki MDL-71944 mod_wiki: use confirm output API for comment deletion. 2021-08-09 10:41:00 +01:00
workshop MDL-69588 core: Activity navigation fixes 2021-08-26 09:58:15 +08: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