moodle/mod
2016-08-04 21:27:02 -04:00
..
assign Merge branch 'MDL-54941-master' of git://github.com/jleyva/moodle 2016-08-03 00:29:45 +02: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 Merge branch 'MDL-55278_master' of https://github.com/dmonllao/moodle 2016-07-26 11:57:09 +01: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-55278_master' of https://github.com/dmonllao/moodle 2016-07-26 11:57:09 +01:00
feedback MDL-55355 mod_feedback: Change show chart data step to avoid errors 2016-08-03 10:22:58 +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 Merge branch 'MDL-50267-master' of git://github.com/junpataleta/moodle 2016-07-27 00:59:19 +02: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-50267-master' of git://github.com/junpataleta/moodle 2016-07-27 00:59:19 +02:00
resource MDL-55278 search: Updating references to area namespace 2016-07-21 18:38:18 +02: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 Merge branch 'MDL-54941-master' of git://github.com/jleyva/moodle 2016-08-03 00:29:45 +02: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-53292 core: deprecate callback delete_course 2016-06-13 10:48:06 +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