moodle/mod
2010-07-28 02:42:21 +00:00
..
assignment assignment MDL-22609 notice when no submission yet - fixed. 2010-07-28 02:42:21 +00:00
chat "MDL-23374, chat, fixed undefined variable" 2010-07-27 03:29:49 +00:00
choice MDL-23479 backup - choice restore implementation 2010-07-27 23:50:15 +00:00
data MDL-23187, added extra comments caps to modules (glossary, data and wiki) 2010-07-27 10:05:12 +00:00
feedback MDL-19698 deprecated assign new by ref in feedback 2010-07-19 08:33:18 +00:00
folder MDL-21249 improved php docs and adding copyright blocks in mod/folder 2010-07-25 11:12:16 +00:00
forum navigation MDL-23020 Added pagelayout to forum search page 2010-07-23 06:59:53 +00:00
glossary MDL-23187, added extra comments caps to modules (glossary, data and wiki) 2010-07-27 10:05:12 +00:00
imscp MDL-21249 improved php docs and adding copyright blocks in mod/imscp 2010-07-25 11:16:08 +00:00
label MDL-23479 missed check for intro files. 2010-07-28 01:57:12 +00:00
lesson lesson MDL-23456 in lesson module glossary autolinking was happening in question answers but not the questions themselves 2010-07-27 02:10:59 +00:00
page MDL-23479 missed check for intro files. 2010-07-28 01:57:12 +00:00
quiz NOMDL quiz: fixed sql params handling in recent activity report 2010-07-26 22:20:51 +00:00
resource MDL-23479 Resource Restore code 2010-07-28 01:51:57 +00:00
scorm SCORM MDL-22951 - remove old string - uses new JS to provide errors on pop-ups 2010-07-25 23:47:33 +00:00
survey fixed some comment typos 2010-07-22 09:43:30 +00:00
url MDL-23479 missed check for intro files. 2010-07-28 01:57:12 +00:00
wiki MDL-23187, added extra comments caps to modules (glossary, data and wiki) 2010-07-27 10:05:12 +00:00
workshop MDL-19211 workshop uses editors_get_preferred_format() instead of hard coded default formats 2010-07-27 22:30:34 +00:00
index.html
README.txt Fixed location of icon.gif 2010-03-24 10:56:22 +00:00
upgrade.txt MDL-23234 finally standardised use of settings.php across all plugins - the only partial exceptions now are report and local plugins 2010-07-13 13:56:55 +00: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