moodle/mod
2015-04-28 10:11:16 +01:00
..
assign Merge branch 'MDL-49977_master' of git://github.com/markn86/moodle 2015-04-27 10:46:08 +01:00
assignment MDL-48144 upgrade: add v2.8.0 sep lines 2014-11-10 18:08:15 +01:00
book MDL-49799 behat: replaced asd.com with example.com 2015-04-20 11:21:20 +08:00
chat Merge branch 'MDL-49101' of https://github.com/andrewhancox/moodle 2015-04-07 17:27:17 +08:00
choice MDL-49799 behat: replaced asd.com with example.com 2015-04-20 11:21:20 +08:00
data Merge branch 'MDL-49937-master' of git://github.com/jleyva/moodle 2015-04-24 10:19:18 +01:00
feedback MDL-49993 mod_feedback: Question auto numbers have no space between number and question 2015-04-26 19:04:40 +02:00
folder MDL-49101 core: Add a global admin setting config->requiremodintro 2015-04-07 10:11:53 +01:00
forum Merge branch 'MDL-49921-master' of git://github.com/jleyva/moodle 2015-04-22 16:40:15 +01:00
glossary MDL-49799 behat: replaced asd.com with example.com 2015-04-20 11:21:20 +08:00
imscp Merge branch 'MDL-49101' of https://github.com/andrewhancox/moodle 2015-04-07 17:27:17 +08:00
label Merge branch 'MDL-49101' of https://github.com/andrewhancox/moodle 2015-04-07 17:27:17 +08:00
lesson MDL-49948 lesson: Answer and response format should be known for each form 2015-04-27 14:35:20 +01:00
lti Merge branch 'MDL-49101' of https://github.com/andrewhancox/moodle 2015-04-07 17:27:17 +08:00
page MDL-49101 core: Add a global admin setting config->requiremodintro 2015-04-07 10:11:53 +01:00
quiz MDL-49814 quiz: make question dependency clear in the nav 2015-04-27 13:55:40 +01:00
resource MDL-49101 core: Add a global admin setting config->requiremodintro 2015-04-07 10:11:53 +01:00
scorm MDL-49799 behat: replaced asd.com with example.com 2015-04-20 11:21:20 +08:00
survey MDL-49799 behat: replaced asd.com with example.com 2015-04-20 11:21:20 +08:00
url Merge branch 'MDL-49101' of https://github.com/andrewhancox/moodle 2015-04-07 17:27:17 +08:00
wiki MDL-49799 behat: replaced asd.com with example.com 2015-04-20 11:21:20 +08:00
workshop MDL-49799 behat: replaced asd.com with example.com 2015-04-20 11:21:20 +08:00
index.html
README.txt
upgrade.txt MDL-13831 course: add gradepass field to mod_form 2015-03-23 10:56:56 +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