moodle/mod
2003-11-21 14:03:06 +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 Changes to use the new fullname function 2003-11-19 16:45:20 +00:00
glossary Remove evil styles ;-) 2003-11-21 05:24:01 +00:00
journal Removed text focus to avoid errors in IE 2003-11-10 01:49:00 +00:00
label Removed unnecessary functions 2003-11-21 14:03:06 +00:00
quiz Made it possble to give negative grades for single multichoice answers in a question with embedded answers, as suggested by Koen Roggemans. The total score of the whole question must still be greater than or equeal to zero. 2003-11-20 19:39:08 +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 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.