moodle/mod
2005-08-31 06:13:26 +00:00
..
assignment Mass cleanup of bad postgres upgrade scripts(merged from 15_stable) 2005-08-15 23:17:58 +00:00
chat Mass cleanup of bad postgres upgrade scripts(merged from 15_stable) 2005-08-15 23:17:58 +00:00
choice Mass cleanup of bad postgres upgrade scripts(merged from 15_stable) 2005-08-15 23:17:58 +00:00
exercise Tabs are out 2005-05-16 22:22:31 +00:00
forum Merged from MOODLE_15_STABLE: Backticks are not postgres friendly! :( 2005-08-26 04:41:48 +00:00
glossary Mass cleanup of bad postgres upgrade scripts(merged from 15_stable) 2005-08-15 23:17:58 +00:00
hotpot merged from MOODLE_15_STABLE 2005-07-04 07:20:53 +00:00
journal No journal on new installs, merged from stable 2005-07-12 07:11:33 +00:00
label Merged SC139 from stable 2005-07-12 08:00:51 +00:00
lesson FIXED: Removed Notice Warning. Sometimes an attempt's answerid field is not set because the answer that the student entered does not match any of the answers for the question. This error comes up for Numerical and Short answer question types. 2005-08-29 22:04:13 +00:00
quiz Merged from MOODLE_15_STABLE: Avoid a warning when displaying multichoice quiz questions 2005-08-31 05:24:31 +00:00
resource Merged from MOODLE_15_STABLE: Preventing another warning. In some cases in the calendar blocks, resource filtering gets called with no courseid 2005-08-31 06:13:26 +00:00
scorm Fixed next sco search 2005-08-30 11:48:22 +00:00
survey Merged SC139 from stable 2005-07-12 08:00:51 +00:00
wiki Added the $Id$ tag 2005-07-24 10:29:23 +00:00
workshop Mass cleanup of bad postgres upgrade scripts(merged from 15_stable) 2005-08-15 23:17:58 +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