moodle/mod
2003-11-18 00:41:35 +00:00
..
assignment Check for existence of grades 2003-11-14 18:34:17 +00:00
attendance fixed foreach problem on line 125 per request from forums 2003-11-07 04:29:13 +00:00
chat Keep guests out of chat 2003-11-03 10:22:24 +00:00
choice Removed blank lines at the end (!) 2003-11-03 02:59:09 +00:00
dialogue Change to new-style tabs. 2003-11-13 11:57:34 +00:00
exercise Removal of diagnostic messages in Administration page; correction to 2003-11-17 18:51:01 +00:00
forum When restoring "teacher" forums, if it exists in destinatio course, discussions 2003-11-16 22:49:11 +00:00
glossary - Now you can override the display format of a glossary (useful to certain display format -asked by Tom Murdock-, automatic linking, etc) 2003-11-18 00:41:35 +00:00
journal Removed text focus to avoid errors in IE 2003-11-10 01:49:00 +00:00
label Modularised some of the processing for "extra" information such as 2003-10-22 13:14:56 +00:00
quiz Don't have the Javascript dialog on submitting an attempt if the quiz 2003-11-15 03:31:37 +00:00
resource Use new editor stuff 2003-11-03 16:58:45 +00:00
survey Removed a blank line 2003-11-03 03:00:45 +00:00
workshop Some minor improvements, see Workshop Forum. 2003-11-13 16:22:27 +00:00
newmodule_template.zip Now the module template includes the XXXX_get_participants() 2003-09-29 18:14:23 +00:00
README Updated module template with module_print_recent_activity() 2002-09-22 06:47:11 +00:00

This directory contains all the learning modules.

Standard components expected of each module:

  mod.html: a form to setup/update a module instance

  version.php: defines some meta-info and provides upgrading code

  icon.gif: a 16x16 icon for the module

  db/mysql.sql: 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()

See newmodule_template.zip in this directory for a blank template 
to help you get started.