moodle/mod
2003-10-12 18:09:13 +00:00
..
assignment These changes implement some better controls for controlling uploads. 2003-10-06 18:02:35 +00:00
attendance fix attempt for auto-attendance logging. Set to use gmdate and gmmktime 2003-10-08 19:09:39 +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 Removed trailing blank line. 2003-10-12 18:09:13 +00:00
exercise Removing old todo.txt file. 2003-10-12 17:21:01 +00:00
forum Only print the ratings button if there are ratings to be made. 2003-10-09 16:36:09 +00:00
glossary Started out reformatting the code a little and ended up simplifying 2003-10-08 03:13:12 +00:00
journal Simply, move the XXXX_get_participants() function from 2003-09-29 15:27:30 +00:00
label Oracle translation of mySQL module for label. 2003-09-14 23:41:22 +00:00
quiz Excel reports now use the new libraray ... code by Russell Jungwirth - thanks! 2003-09-30 13:18:09 +00:00
resource Smaller borders on frames 2003-10-10 06:02:43 +00:00
survey Excel report now uses the new library. Conversion by Russell Jungwirth - thanks! 2003-09-30 13:23:05 +00:00
workshop Cosmetic change to index.php list; Logging of phase changes in a workshop; tidy up of log_display entries - thus the new version; 2003-10-08 18:15:22 +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.