moodle/mod
2013-08-06 17:51:30 +12:00
..
assign Merge branch 'MDL-34989-master' of git://github.com/damyon/moodle 2013-08-06 17:51:30 +12:00
assignment MDL-40867 fix misleading PHPdocs for _get_coursemodule_info 2013-07-26 10:40:39 +01:00
book MDL-40220 use new core_component::get_plugin_list() 2013-07-16 22:36:11 +02:00
chat Revert "MDL-39770 mod_chat: some tweaks to make it prettier to reduce screen wastage" 2013-07-25 16:40:45 +08:00
choice Merge branch 'MDL-38759-master' of https://github.com/mackensen/moodle 2013-07-30 08:58:14 +12:00
data MDL-40220 use new core_component::get_plugin_list() 2013-07-16 22:36:11 +02:00
feedback Merge branch 'MDL-40746_master' of git://github.com/grabs/moodle 2013-07-30 09:40:40 +12:00
folder MDL-38707 Display module name when the folder is displayed inline 2013-07-19 15:52:23 +10:00
forum Merge branch 'MDL-38758_master' of https://github.com/markn86/moodle 2013-08-05 15:37:37 +12:00
glossary MDL-39635 behat: XPath cleanups 2013-07-19 10:02:36 +02:00
imscp MDL-32480 allow external https links in IMSCP too 2013-06-07 09:58:03 +02:00
label MDL-40867 fix misleading PHPdocs for _get_coursemodule_info 2013-07-26 10:40:39 +01:00
lesson Merge branch 'MDL-40420' of https://github.com/prateeksachan/moodle 2013-08-06 17:31:14 +12:00
lti Merge branch 'MDL-40870' of https://github.com/moodlerooms/moodle 2013-08-06 14:47:38 +12:00
page MDL-40867 fix misleading PHPdocs for _get_coursemodule_info 2013-07-26 10:40:39 +01:00
quiz MDL-35053 questions: question files outside an attempt. 2013-07-26 13:10:11 +01:00
resource MDL-40867 fix misleading PHPdocs for _get_coursemodule_info 2013-07-26 10:40:39 +01:00
scorm Merge branch 'w30_MDL-40642_m26_umask' of https://github.com/skodak/moodle 2013-07-23 23:42:11 +02:00
survey MDL-39753 Add 2.5.0 upgrade line 2013-05-20 15:33:19 +02:00
url MDL-40867 fix misleading PHPdocs for _get_coursemodule_info 2013-07-26 10:40:39 +01:00
wiki Merge branch 'MDL-40295' of git://github.com/rwijaya/moodle 2013-07-23 15:51:59 +08:00
workshop MDL-40220 use new core_component::get_plugin_list() 2013-07-16 22:36:11 +02:00
index.html
README.txt
upgrade.txt MDL-29996 remove deprecated stuff from filter code 2012-12-30 17:02:18 +01: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