moodle/mod
2007-05-03 01:00:09 +00:00
..
assignment Fixed many XHTML errors 2007-04-20 07:49:39 +00:00
chat Fixed many XHTML errors 2007-04-20 07:49:39 +00:00
choice MDL-9568 Choice does not count correct 2007-04-24 20:08:16 +00:00
data MDL-9585 - mod/data: moved functions and classes out of preset.php into lib.php 2007-04-26 21:38:28 +00:00
exercise Merged from 1.7. 2007-02-16 08:43:10 +00:00
forum Fixed many XHTML errors 2007-04-20 07:49:39 +00:00
glossary Fixed many XHTML errors 2007-04-20 07:49:39 +00:00
hotpot set default body font-size to "small" 2007-05-03 01:00:09 +00:00
journal Updated versions and requires (primarily because of formslib dependencies) 2007-02-02 13:02:24 +00:00
label Updated versions and requires (primarily because of formslib dependencies) 2007-02-02 13:02:24 +00:00
lams Fixed many XHTML errors 2007-04-20 07:49:39 +00:00
lesson Fix for MDL-9250 2007-04-08 20:55:23 +00:00
quiz MDL-9608 - Work around Firefox putting the user's password in the quiz password field. 2007-04-27 08:32:44 +00:00
resource MDL-9485 resource summary now optional again 2007-04-24 21:09:29 +00:00
scorm Fixed many XHTML errors 2007-04-20 07:49:39 +00:00
survey (MDL-9470) Survey submission JS broken 2007-04-20 17:51:30 +00:00
wiki Replaced all instances of old if(): else: endif; syntax with proper braces 2007-04-13 03:46:49 +00:00
workshop fix for MDL-9185 2007-04-04 04:03:27 +00:00
index.html To stop people browsing modules 2005-01-23 04:15:13 +00:00
README.txt

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