moodle/mod
2017-10-19 10:11:47 +02:00
..
assign MDL-60058 assign: add missing locallib require_once calls 2017-10-17 03:04:47 +00:00
assignment MDL-57432 upgrade: clean < 3.0.0 upgrade steps 2017-07-10 09:16:55 +01:00
book Merge branch 'MDL-55356-master' of https://github.com/sammarshallou/moodle 2017-10-12 11:28:04 +08:00
chat MDL-60281 general: create_function is deprecated in PHP7.2 2017-10-16 09:37:19 +08:00
choice MDL-60058 choice: implement timestart range callback for calendar UI 2017-10-13 06:38:02 +00:00
data MDL-57455 mod_data: moved export tag checkbox and set default 2017-10-18 16:03:17 +08:00
feedback MDL-60063 feedback: add drag and drop of open close events 2017-10-17 03:54:24 +00:00
folder Merge branch 'MDL-60105_master' of git://github.com/dmonllao/moodle 2017-09-19 01:55:12 +02:00
forum NOBUG: Fixed file access permissions 2017-10-13 14:33:08 +08:00
glossary Merge branch 'MDL-55356-master' of https://github.com/sammarshallou/moodle 2017-10-12 11:28:04 +08:00
imscp Merge branch 'MDL-59459_Increase_file_indexing_coverage' of https://github.com/mattporritt/moodle 2017-09-11 14:01:40 +01:00
label Merge branch 'MDL-59459_Increase_file_indexing_coverage' of https://github.com/mattporritt/moodle 2017-09-11 14:01:40 +01:00
lesson Merge branch 'MDL-59459_Increase_file_indexing_coverage' of https://github.com/mattporritt/moodle 2017-09-11 14:01:40 +01:00
lti MDL-36580 backup: Use the encrypted_final_element for lti "secrets" 2017-10-19 10:11:47 +02:00
page Merge branch 'MDL-59459_Increase_file_indexing_coverage' of https://github.com/mattporritt/moodle 2017-09-11 14:01:40 +01:00
quiz MDL-60281 general: function each() is deprecated in PHP7.2 2017-10-16 09:37:20 +08:00
resource Merge branch 'MDL-59459_Increase_file_indexing_coverage' of https://github.com/mattporritt/moodle 2017-09-11 14:01:40 +01:00
scorm MDL-60281 general: function each() is deprecated in PHP7.2 2017-10-16 09:37:20 +08:00
survey MDL-60281 general: function each() is deprecated in PHP7.2 2017-10-16 09:37:20 +08:00
url Merge branch 'MDL-59459_Increase_file_indexing_coverage' of https://github.com/mattporritt/moodle 2017-09-11 14:01:40 +01:00
wiki MDL-60281 general: function each() is deprecated in PHP7.2 2017-10-16 09:37:20 +08:00
workshop Merge branch 'wip-MDL-60281-master' of git://github.com/marinaglancy/moodle 2017-10-17 09:45:44 +02:00
index.html
README.txt
upgrade.txt MDL-59612 core: removed hard-coded check for referer in modules 2017-07-31 12:03:28 +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