moodle/mod
2008-03-11 19:20:03 +00:00
..
assignment MDL-13872: 2008-03-11 14:26:38 +00:00
chat Merged version bumps for release 1.9 2008-03-03 11:49:34 +00:00
choice MDL-13892 partial fix - check var first before using! 2008-03-11 19:01:34 +00:00
data Merged version bumps for release 1.9 2008-03-03 11:49:34 +00:00
exercise MDL-13842 Error migrating grades for exercise module...; merged from MOODLE_19_STABLE 2008-03-08 12:58:05 +00:00
forum MDL-13866 scale ratings do not work in forum; merged from MOODLE_19_STABLE 2008-03-10 21:19:45 +00:00
glossary Merged version bumps for release 1.9 2008-03-03 11:49:34 +00:00
hotpot Merged version bumps for release 1.9 2008-03-03 11:49:34 +00:00
journal Merged version bumps for release 1.9 2008-03-03 11:49:34 +00:00
label Merged version bumps for release 1.9 2008-03-03 11:49:34 +00:00
lams Merged version bumps for release 1.9 2008-03-03 11:49:34 +00:00
lesson MDL-12860 - Patch from Joseph Rézeau, to fix a problem in the display of lesson result when using regexp. 2008-03-06 08:24:40 +00:00
quiz MDL-12572 MDL-13427 New HTML cleaning code 2008-03-11 19:20:03 +00:00
resource Merged version bumps for release 1.9 2008-03-03 11:49:34 +00:00
scorm MDL-10358 Scorm package not updating correctly - calling function in lib not included. 2008-03-04 22:26:00 +00:00
survey Merged version bump from 1.9 2008-03-03 12:03:05 +00:00
wiki Simplify anydb_escape_string() to use simple-cross-db addslashes(). MDL-13793 ; merged from 19_STABLE 2008-03-04 23:41:37 +00:00
workshop MDL-13046 Fixed notices. Merging from MOODLE_19_STABLE 2008-03-06 09:42:33 +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