moodle/mod
2010-07-29 07:54:30 +00:00
..
assignment assignment MDL-22609 notice when no submission yet - fixed. 2010-07-28 02:42:21 +00:00
chat MDL-23479 chat restore code 2010-07-28 23:16:06 +00:00
choice MDL-23561 Fixed support for addHelpButton() in repeated elements 2010-07-29 07:54:30 +00:00
data data MDL-23573 made database activity export only include the requested fields 2010-07-29 06:24:47 +00:00
feedback MDL-23479 feedback restore code 2010-07-28 09:57:04 +00:00
folder MDL-23479 folder Restore code 2010-07-28 08:31:35 +00:00
forum forum MDL-23388 altered help string to provide information on the role of caps in forum throttling 2010-07-28 07:35:10 +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 MDL-23479 lesson backup - force order of pages to use prevpageid so that restore is able to see pages in the right order. 2010-07-29 05:02:51 +00:00
page MDL-23479 missed check for intro files. 2010-07-28 01:57:12 +00:00
quiz NOBUG more consistent use of URLs for the quiz reports. 2010-07-28 15:08:34 +00:00
resource MDL-23479 Resource Restore code 2010-07-28 01:51:57 +00:00
scorm MDL-23479 scorm restore code - fix bug with mapping MDL-23570 2010-07-29 02:23:06 +00:00
survey NOMDL survey - fix crazy query cross-joining like hell 2010-07-28 16:02:22 +00:00
url MDL-23479 missed check for intro files. 2010-07-28 01:57:12 +00:00
wiki MDL-23479 wiki restore code - Still some files not included in backup/restore and content needs decoding correctly. 2010-07-29 02:08:33 +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