moodle/mod
2003-11-27 14:52:22 +00:00
..
assignment Fixed bug 902 when displaying scale grades for offline assignments 2003-11-22 03:14:59 +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 No need for HTML editor stuff 2003-11-24 01:48:02 +00:00
forum Changes to use the new fullname function 2003-11-19 16:45:20 +00:00
glossary - Deleting inconsistent records on glossary_alias due to the last fixed bug. 2003-11-27 13:32:02 +00:00
journal Removed text focus to avoid errors in IE 2003-11-10 01:49:00 +00:00
label Use the new method for calling html editor 2003-11-24 01:16:25 +00:00
quiz Different format on headers for text downloads to improve performance on 2003-11-27 14:52:22 +00:00
resource Another setting to allow a default URL in webpage and weblink 2003-11-26 11:47:51 +00:00
survey Worksheet name can't be longer than 31 characters 2003-11-27 07:10:27 +00:00
workshop Bug fixed in assesssubmission code. 2003-11-19 17:54:54 +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.