moodle/mod
2006-08-31 10:37:33 +00:00
..
assignment adding capabilities 2006-08-31 08:51:09 +00:00
chat adding some capabilities 2006-08-29 08:43:59 +00:00
choice adding some capabilities 2006-08-29 08:43:59 +00:00
data fixed missing semicolon typo 2006-08-30 09:17:40 +00:00
exercise SWEEPING CLEANUP 2006-08-14 05:55:40 +00:00
forum Fix for bug MDL-6385 2006-08-29 02:09:31 +00:00
glossary added some capabilities 2006-08-30 08:43:17 +00:00
hotpot adding capabilities 2006-08-31 08:51:09 +00:00
journal Oops, filled now. I forgot to save changes before commit. 2006-08-11 17:31:11 +00:00
label XMLDB schema initial commit for the label module 2006-08-11 17:37:17 +00:00
lams XMLDB schema initial commit for the lams module 2006-08-11 17:39:38 +00:00
lesson Merged bug fix for MDL-6325 2006-08-28 20:02:49 +00:00
quiz Fixed syntax error. 2006-08-31 09:17:57 +00:00
resource Initial version of the XMLDB file for this plugin 2006-08-12 21:41:46 +00:00
scorm Fixed a typo 2006-08-31 10:37:33 +00:00
survey added some capabilities 2006-08-30 08:43:17 +00:00
wiki Removed all of the "Restricted users" hack because Roles can do it all better. 2006-08-13 07:01:57 +00:00
workshop Initial version of the XMLDB file for this plugin 2006-08-12 22:19:10 +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