moodle/mod
2016-08-15 12:00:47 +01:00
..
assign Merge branch 'MDL-55520-master' of git://github.com/damyon/moodle 2016-08-15 10:58:39 +08:00
assignment MDL-54677 upgrade: add 3.1.0 separation line to all upgrade scripts 2016-05-23 01:31:34 +02:00
book MDL-55278 search: Updating references to area namespace 2016-07-21 18:38:18 +02:00
chat MDL-55274 mod_chat: Add unit tests for special commands 2016-08-09 10:44:08 +08:00
choice Merge branch 'MDL-55140_m32v2' of https://github.com/sbourget/moodle 2016-08-02 08:48:36 +08:00
data Merge branch 'MDL-55196_master' of https://github.com/andrewhancox/moodle 2016-08-15 12:00:47 +01:00
feedback MDL-55333 mod_feedback: Correct constant name 2016-08-10 10:13:07 +08:00
folder MDL-55278 search: Updating references to area namespace 2016-07-21 18:38:18 +02:00
forum MDL-54656 behat: Skip test if db family is not mysql or postgres 2016-08-04 08:46:04 +08:00
glossary MDL-54941 glossary: Correct variable naming for entry files 2016-08-03 14:33:53 +08:00
imscp MDL-55278 search: Updating references to area namespace 2016-07-21 18:38:18 +02:00
label MDL-55464 mod_label: Add view permissions 2016-08-04 21:27:02 -04:00
lesson MDL-55366 mod_lesson: Fix warning with TF page. 2016-08-15 10:17:41 +08:00
lti Merge branch 'MDL-55314-master' of https://github.com/mrmark/moodle 2016-08-02 17:16:07 +02:00
page MDL-55278 search: Updating references to area namespace 2016-07-21 18:38:18 +02:00
quiz Merge branch 'MDL-54862-master' of git://github.com/dpalou/moodle 2016-08-09 08:06:35 +01:00
resource MDL-53765 mod_resource/mod_wiki: Removed update_module_button() 2016-08-09 10:00:54 +08:00
scorm Merge branch 'MDL-55278_master' of https://github.com/dmonllao/moodle 2016-07-26 11:57:09 +01:00
survey MDL-55278 search: Updating references to area namespace 2016-07-21 18:38:18 +02:00
url MDL-55278 search: Updating references to area namespace 2016-07-21 18:38:18 +02:00
wiki MDL-53765 mod_resource/mod_wiki: Removed update_module_button() 2016-08-09 10:00:54 +08:00
workshop Merge branch 'MDL-55360-master-workshopgradepass' of git://github.com/mudrd8mz/moodle 2016-08-01 18:57:00 +01:00
index.html
README.txt
upgrade.txt MDL-53765 core: Deprecate update_module_button functions 2016-08-09 11:17:43 +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