moodle/mod
2003-11-07 16:04:31 +00:00
..
assignment Don't even show submitted dates on offline assignments 2003-11-02 15:11:53 +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 Removed blank lines at the end (!) 2003-11-03 02:59:09 +00:00
exercise Cosmetic change to Admin page. 2003-11-06 17:47:11 +00:00
forum Whoops typo 2003-11-05 13:48:25 +00:00
glossary - Missed that one. 2003-11-07 16:04:31 +00:00
journal Just moodling ... tidied up the horrible interface a little 2003-11-03 16:27:46 +00:00
label Modularised some of the processing for "extra" information such as 2003-10-22 13:14:56 +00:00
quiz The new quizfile.php makes it possible to view associated file material on quizes, such as images, even for questions belonging to a category on a different course. lib.php is updated accordingly... 2003-11-02 21:36:25 +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 SERIAL8 -> SERIAL 2003-11-03 13:21:00 +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.