moodle/mod
2003-11-02 03:13:12 +00:00
..
assignment Removed a blank line 2003-11-02 03:13:12 +00:00
attendance Add a check in case no attendances are defined 2003-10-16 04:17:53 +00:00
chat Simply, move the XXXX_get_participants() function from 2003-09-29 15:27:30 +00:00
choice Simply, move the XXXX_get_participants() function from 2003-09-29 15:27:30 +00:00
dialogue New icon from Eloy Lafuente. 2003-10-23 17:39:49 +00:00
exercise Fix to the Complete isting. Upload now checks the submission for spurious re-submission caused by using the Back button. User and Teacher deletions of submissions are now logged. Redirect delay when marking submissions shortened to one second. 2003-11-01 17:25:13 +00:00
forum Add navmenu to header of forum search pages 2003-10-31 08:31:39 +00:00
glossary - Typo 2003-11-02 02:40:00 +00:00
journal Undoing Greg's UNION hack ... it was causing problems on Mysql 3 2003-10-31 03:25:37 +00:00
label Modularised some of the processing for "extra" information such as 2003-10-22 13:14:56 +00:00
quiz An improvement asked for by koen roggemans: 2003-10-31 21:27:43 +00:00
resource Make sure resources are put through format_text so that they can be 2003-10-28 14:01:15 +00:00
survey Excel report now uses the new library. Conversion by Russell Jungwirth - thanks! 2003-09-30 13:23:05 +00:00
workshop Some small style changes for tabs 2003-10-19 05:24:33 +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.