moodle/mod
2018-08-06 09:21:14 +08:00
..
assign Merge branch 'MDL-59611-master' of git://github.com/damyon/moodle 2018-07-31 13:30:41 +02:00
assignment MDL-61041 assign: Remove assignment 2.2 upgrader 2018-07-25 14:11:10 +08:00
book MDL-62478 upgrade: add 3.5.0 separation line to all upgrade scripts 2018-05-28 13:15:48 +02:00
chat MDL-62763 lang: Merge English strings from the en_fix language pack 2018-07-02 11:15:26 +02:00
choice MDL-56881 mod_choice: add unit tests for choice_user_submit_response 2018-07-09 11:02:50 +08:00
data MDL-54742 general: Remove strings deprecated in 3.2 2018-07-23 14:25:14 +08:00
feedback Merge branch 'MDL-61290_master' of https://github.com/aanabit/moodle 2018-07-31 17:18:17 +02:00
folder MDL-62628 resource: Folder name formatting issue when displayed inline 2018-06-08 08:35:29 +08:00
forum MDL-55188 events: First deprecation of eventslib.php 2018-07-30 09:23:54 +08:00
glossary Merge branch 'MDL-62288_master' of https://bitbucket.org/ujiapps/moodle-uji 2018-07-04 01:20:08 +02:00
imscp MDL-62478 upgrade: add 3.5.0 separation line to all upgrade scripts 2018-05-28 13:15:48 +02:00
label MDL-62344 mod_label: ID number feature support 2018-07-27 06:03:24 -04:00
lesson Merge branch 'MDL-55188-master' of git://github.com/abgreeve/moodle 2018-07-30 17:33:21 +02:00
lti MDL-62969 mod_lti: fix parsed value for LtiLink.memberships.url 2018-07-25 11:59:36 +08:00
page MDL-41265 resource: Page resource option to show/hide last modified 2018-06-25 09:13:04 +08:00
quiz MDL-57244 lib: Update to upgrade.txt files about renamed classes. 2018-08-02 10:34:18 +08:00
resource MDL-62478 upgrade: add 3.5.0 separation line to all upgrade scripts 2018-05-28 13:15:48 +02:00
scorm MDL-57244 lib: Update to upgrade.txt files about renamed classes. 2018-08-02 10:34:18 +08:00
survey MDL-62478 upgrade: add 3.5.0 separation line to all upgrade scripts 2018-05-28 13:15:48 +02:00
url MDL-62478 upgrade: add 3.5.0 separation line to all upgrade scripts 2018-05-28 13:15:48 +02:00
wiki Merge branch 'MDL-62977_master' of git://github.com/markn86/moodle 2018-08-01 16:36:25 +02:00
workshop MDL-62763 lang: Merge English strings from the en_fix language pack 2018-07-02 11:15:26 +02:00
index.html
README.txt
upgrade.txt MDL-58768 core: Fix a typo for callback name 2018-07-28 07:51:33 +10: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