moodle/mod
2022-09-21 09:52:37 +01:00
..
assign Merge branch 'MDL-70480-master' of https://github.com/chanqihui/moodle 2022-08-30 09:12:03 +01:00
assignment Merge branch 'MDL-71062-master' of https://github.com/sharidas/moodle 2022-07-13 11:39:08 +08:00
bigbluebuttonbn Merge branch 'MDL-75558-master' of https://github.com/ssj365/moodle 2022-09-14 22:30:33 +01:00
book Merge branch 'MDL-74608' of https://github.com/timhunt/moodle 2022-08-18 10:52:02 +08:00
chat Merge branch 'MDL-74608' of https://github.com/timhunt/moodle 2022-08-18 10:52:02 +08:00
choice Merge branch 'MDL-71062-master' of https://github.com/sharidas/moodle 2022-07-13 11:39:08 +08:00
data MDL-75413 mod_data: Add resources preset 2022-09-14 13:12:41 +02:00
feedback MDL-75553 lang: Fix Behat regressions in scenario files 2022-09-06 21:47:18 +02:00
folder MDL-74608 activities: a new option to force the activity language 2022-08-15 22:15:52 +01:00
forum Merge branch 'MDL-75029' of https://github.com/paulholden/moodle 2022-08-18 11:17:19 +08:00
glossary Merge branch 'MDL-71062-master' of https://github.com/sharidas/moodle 2022-07-13 11:39:08 +08:00
h5pactivity MDL-72012 mod_h5pactivity: respect user access when getting report. 2022-09-07 22:10:15 +08:00
imscp MDL-71747 upgrade: remove all the < 3.9.0 upgrade steps 2022-07-07 19:16:37 +02:00
label MDL-74608 activities: a new option to force the activity language 2022-08-15 22:15:52 +01:00
lesson MDL-74608 activities: a new option to force the activity language 2022-08-15 22:15:52 +01:00
lti MDL-74608 activities: a new option to force the activity language 2022-08-15 22:15:52 +01:00
page MDL-74608 activities: a new option to force the activity language 2022-08-15 22:15:52 +01:00
quiz MDL-27570 quiz: check if time is really up 2022-09-21 09:52:37 +01:00
resource MDL-74608 activities: a new option to force the activity language 2022-08-15 22:15:52 +01:00
scorm MDL-74608 activities: a new option to force the activity language 2022-08-15 22:15:52 +01:00
survey MDL-74608 activities: a new option to force the activity language 2022-08-15 22:15:52 +01:00
url MDL-74608 activities: a new option to force the activity language 2022-08-15 22:15:52 +01:00
wiki MDL-74608 activities: a new option to force the activity language 2022-08-15 22:15:52 +01:00
workshop Merge branch 'MDL-74608' of https://github.com/timhunt/moodle 2022-08-18 10:52:02 +08:00
index.html
README.txt
upgrade.txt MDL-68011 course: Final deprecation of the callback get_shortcuts() 2022-07-19 14:13:36 +08: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