moodle/mod
2005-06-23 15:29:43 +00:00
..
assignment Merged from STABLE 2005-06-20 09:15:30 +00:00
chat Tabs are out 2005-05-16 22:22:31 +00:00
choice require_variable() replaced with required_param() 2005-06-10 11:09:39 +00:00
dialogue Tabs are out 2005-05-16 22:22:31 +00:00
exercise Tabs are out 2005-05-16 22:22:31 +00:00
forum Bug fix for bug #3614 2005-06-23 15:29:43 +00:00
glossary Now glossary ratings display user links in a new page. 2005-06-19 17:33:39 +00:00
hotpot size of top frame, if any, set using $CFG->resource_framesize 2005-05-30 23:13:56 +00:00
journal Very quick fix to remove notices (but loses some colors) 2005-05-17 19:55:37 +00:00
label Replaced _variable() style calls with _param() style calls plus other 2005-06-16 10:15:02 +00:00
lesson Made the shortanswer qtype grading much more reliable. Change to preg_match to speed things up. Also do a preg_quote on the teacher supplied answer to prevent confusion in the preg_match statements (before + signs and the like were causing the preg_match statements to fail). 2005-06-21 22:38:26 +00:00
quiz merged from stable 2005-06-21 06:57:30 +00:00
resource Replaced _variable() style calls with _param() style calls plus other 2005-06-16 10:15:02 +00:00
scorm Fixed backup bad data archive 2005-06-06 12:41:44 +00:00
survey Tabs are out 2005-05-16 23:42:48 +00:00
wiki New lightspeed wiki filter (using the static and nothingtodo technologies now) 2005-05-06 17:57:08 +00:00
workshop Fixed a notice 2005-05-03 08:16:12 +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