moodle/mod
2006-11-13 06:26:44 +00:00
..
assignment fixed obsoleted use of course->category to find site course - now used SITEID instead MDL-1899 2006-11-12 08:55:13 +00:00
chat we are going 100% unicode now - removed use of $CFG->unicodedb and current_charset(); MDL-7439 - part 2, only hotpot and wiki left 2006-11-11 17:23:20 +00:00
choice merged choice fix from Stable MDL-7171 2006-10-31 19:00:55 +00:00
data merged, fields should be backed up regardless of whether user data is selected 2006-11-10 04:17:37 +00:00
exercise Deprecating old "upgrade" files. MDL-7214 2006-10-26 22:46:02 +00:00
forum Merged from 1.7 2006-11-13 03:27:41 +00:00
glossary fix for MDL-7474, provide alt text for ascending/descending icons in glossary 2006-11-13 02:20:47 +00:00
hotpot fixed obsoleted use of course->category to find site course - now used SITEID instead MDL-1899 2006-11-12 08:55:13 +00:00
journal Merged from MOODLE_17_STABLE: fixed the journal upgrade. renaming a null column to not null is unhappy 2006-11-07 00:09:37 +00:00
label we are going 100% unicode now - removed use of $CFG->unicodedb and current_charset(); MDL-7439 - part 2, only hotpot and wiki left 2006-11-11 17:23:20 +00:00
lams fixed obsoleted use of course->category to find site course - now used SITEID instead MDL-1899 2006-11-12 08:55:13 +00:00
lesson fixed obsoleted use of course->category to find site course - now used SITEID instead MDL-1899 2006-11-12 08:55:13 +00:00
quiz Fix errors in quiz overview download MDL-7316; merged from MOODLE_17_STABLE 2006-10-31 22:19:15 +00:00
resource Replacing with working image. 2006-11-13 06:26:44 +00:00
scorm fixed obsoleted use of course->category to find site course - now used SITEID instead MDL-1899 2006-11-12 08:55:13 +00:00
survey fixed obsoleted use of course->category to find site course - now used SITEID instead MDL-1899 2006-11-12 08:55:13 +00:00
wiki merged fix for MDL-6721 wiki broken for SPG 2006-11-02 08:50:52 +00:00
workshop fixed obsoleted use of course->category to find site course - now used SITEID instead MDL-1899 2006-11-12 08:55:13 +00:00
index.html To stop people browsing modules 2005-01-23 04:15:13 +00:00
README.txt Removing the newmodule template from this directory and putting it 2004-02-12 06:41:17 +00:00

ACTIVITY MODULES
----------------

These are main modules in Moodle, allowing various activities.


Each of these modules contains a number of expected components:

  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()


If you are a developer and interested in developing new Modules see:
  
   Moodle Documentation:  http://moodle.org/doc
   Moodle Community:      http://moodle.org/community