moodle/mod
2016-02-11 20:41:58 +11:00
..
assign Merge branch 'MDL-52895-master' of git://github.com/jleyva/moodle 2016-02-09 09:43:21 +00:00
assignment MDL-52140 upgrade: add 3.0.0 separation line to all upgrade scripts 2015-11-17 17:08:56 +01:00
book Merge branch 'MDL-51664-master' of git://github.com/FMCorz/moodle 2015-12-03 11:16:30 +01:00
chat MDL-43620 mod_chat: Whitespace fix 2016-01-13 10:20:25 +08:00
choice MDL-45740 choice: version bump 2016-02-01 11:09:42 +00:00
data MDL-52835 mod_data: Correct MIME type for JS template 2016-01-22 09:51:08 +11:00
feedback MDL-52219 behat: remove steps which turn on avaibility/completion 2015-11-26 14:07:17 +00:00
folder MDL-51306 mod_folder: Use context_module to find details 2016-02-10 15:51:31 +08:00
forum MDL-52969 mod_forum: Add List-Unsubscribe email header 2016-02-11 20:41:58 +11:00
glossary MDL-49231 mod_glossary: Invalid pivot when printing entries 2016-01-06 11:15:56 +08:00
imscp MDL-52895 webservice: Fix capability checks 2016-02-03 10:57:07 +01:00
label MDL-52140 upgrade: add 3.0.0 separation line to all upgrade scripts 2015-11-17 17:08:56 +01:00
lesson Merge branch 'MDL-48985_m31v1' of https://github.com/sbourget/moodle 2016-01-19 12:56:26 +08:00
lti MDL-52895 webservice: Fix capability checks 2016-02-03 10:57:07 +01:00
page MDL-52895 webservice: Fix capability checks 2016-02-03 10:57:07 +01:00
quiz Merge branch 'MDL-52791' of git://github.com/timhunt/moodle 2016-01-29 10:15:19 +08:00
resource MDL-52895 webservice: Fix capability checks 2016-02-03 10:57:07 +01:00
scorm MDL-50620 mod_scorm: Preventive (on rewrite) version bump to current. 2016-01-29 10:15:28 +08:00
survey MDL-51704 survey: Fix display problems in report page 2016-01-26 14:06:57 +01:00
url MDL-52895 webservice: Fix capability checks 2016-02-03 10:57:07 +01:00
wiki MDL-51283 core_tag: change tagtype to isstandard 2016-02-02 17:31:14 +08:00
workshop MDL-42190 workshop: Add behat tests for the submissions removal feature 2016-01-25 16:10:59 +01:00
index.html
README.txt
upgrade.txt MDL-51564 webservice: Review the use of external format_string 2015-10-06 14:00:45 +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