moodle/mod
2003-12-13 02:30:20 +00:00
..
assignment Use fullname function 2003-11-28 11:06:53 +00:00
attendance fixed foreach problem on line 125 per request from forums 2003-11-07 04:29:13 +00:00
chat Make sure teacher override is there 2003-11-28 15:37:27 +00:00
choice Display names using fullname function 2003-11-28 15:41:18 +00:00
dialogue Initial version for postgresql. 2003-12-02 17:00:39 +00:00
exercise Minor change to student listing in index.php. 2003-12-04 18:47:48 +00:00
forum Don't show replies when re-editing a post. 2003-12-12 08:46:24 +00:00
glossary A little spacing on the display 2003-12-10 16:36:38 +00:00
journal Use fullname function for displaying names 2003-11-28 15:45:46 +00:00
label Use the new method for calling html editor 2003-11-24 01:16:25 +00:00
quiz Improved description of interim final grade 2003-12-13 02:30:20 +00:00
resource New defaults for popup window settings, which is window off, but all 2003-12-09 04:00:33 +00:00
survey Use fullname function for names 2003-11-28 15:47:11 +00:00
workshop Fixing a typo I spotted in the CVS diffs. :-) 2003-12-08 13:03:41 +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.