moodle/mod
2003-10-18 20:37:40 +00:00
..
assignment These changes implement some better controls for controlling uploads. 2003-10-06 18:02:35 +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 Small typo :-) 2003-10-14 17:33:44 +00:00
exercise More information to teachers on resubmissions. Add submission entry to log only if upload is successful. 2003-10-16 17:35: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 - Fixed another bug when showing "dynaentries" (it does not take in count the case sensitive setting) 2003-10-18 20:37:40 +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 fixed import of shortanswer questions to get rid of blank answers 2003-10-15 16:38:46 +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 Fixed bug stopping the calculation of final grades. 2003-10-16 17:17:19 +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.