moodle/mod
2015-07-30 23:01:01 +02:00
..
assign Merge branch 'MDL-50525' of https://github.com/andrewhancox/moodle 2015-07-22 08:55:05 +08:00
assignment MDL-50183 upgrade: add 2.9.0 separation line to all upgrade scripts 2015-05-12 00:21:05 +02:00
book Merge branch 'MDL-50639_mod_book_fontsize_master' of https://github.com/barrysspace/moodle 2015-07-21 09:08:15 +01:00
chat MDL-50183 upgrade: add 2.9.0 separation line to all upgrade scripts 2015-05-12 00:21:05 +02:00
choice MDL-49360 core_lib: add new method get_local_referer() 2015-07-27 11:11:24 +08:00
data MDL-50171 data: Fixed incorrect text formatting in external functions 2015-06-19 09:43:51 +02:00
feedback MDL-49098 feedback: Fix completion message language strings 2015-06-03 16:47:52 +08:00
folder MDL-50183 upgrade: add 2.9.0 separation line to all upgrade scripts 2015-05-12 00:21:05 +02:00
forum MDL-49360 core_lib: add new method get_local_referer() 2015-07-27 11:11:24 +08:00
glossary MDL-50678 mod_glossary: removed extra login check 2015-07-15 14:08:48 +08:00
imscp MDL-50183 upgrade: add 2.9.0 separation line to all upgrade scripts 2015-05-12 00:21:05 +02:00
label MDL-50183 upgrade: add 2.9.0 separation line to all upgrade scripts 2015-05-12 00:21:05 +02:00
lesson Merge branch 'MDL-49581_m30v4' of https://github.com/sbourget/moodle 2015-07-29 09:32:11 +08:00
lti Merge branch 'MDL-49629' of https://github.com/spvickers/moodle 2015-07-28 12:00:35 +01:00
page MDL-50183 upgrade: add 2.9.0 separation line to all upgrade scripts 2015-05-12 00:21:05 +02:00
quiz MDL-49360 core_lib: add new method get_local_referer() 2015-07-27 11:11:24 +08:00
resource MDL-49792 resource: Move logging and completion to new API 2015-07-30 23:01:01 +02:00
scorm MDL-50427 mod_scorm: Rename scorm_view_display to scorm_print_launch 2015-07-20 09:15:44 +02:00
survey MDL-49360 core_lib: add new method get_local_referer() 2015-07-27 11:11:24 +08:00
url MDL-49360 core_lib: add new method get_local_referer() 2015-07-27 11:11:24 +08:00
wiki Merge branch 'MDL-44962_master' of https://github.com/dmonllao/moodle 2015-07-28 11:16:09 +08:00
workshop MDL-50673 workshop: Fix some coding style violations 2015-07-16 19:44:06 +02:00
index.html
README.txt
upgrade.txt MDL-50427 mod_scorm: Rename scorm_view_display to scorm_print_launch 2015-07-20 09:15:44 +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