moodle/mod
2004-11-17 21:49:48 +00:00
..
assignment Merged from MOODLE_14_STABLE: Indexes and version bump for assignment 2004-11-17 21:49:48 +00:00
attendance Fixed some "not defined" messages 2004-10-22 13:46:28 +00:00
chat merged from 14_STABLE - fixed warning in Activity report/Outline 2004-10-23 19:21:30 +00:00
choice XHTML and accessibility compliance 2004-10-22 07:45:58 +00:00
dialogue Merged change from stable 2004-11-04 07:06:28 +00:00
exercise Non-editing teacher not allowed to change the phase of a Exercise nor 2004-10-17 16:00:54 +00:00
forum Merged $parent initialisation from stable 2004-11-01 12:49:04 +00:00
glossary Just changing some parameters stuff to new functions... 2004-11-17 00:14:34 +00:00
journal Minor changes for XHTML compatibility 2004-10-08 13:58:33 +00:00
label fixed capitalization and quoting of attribute values 2004-09-12 16:24:41 +00:00
lesson updated lesson_calculate_ongoing_score to match the grading algorithm used in view.php. Also suppressed a warning in lesson_print_tree_link_menu function. 2004-11-17 01:05:39 +00:00
quiz The previous update was supposed to be an enlargement of answer in quiz_responses (not quiz_answers) 2004-11-13 19:25:13 +00:00
resource Merged changes from STABLE 2004-11-11 07:57:52 +00:00
scorm Patched a nav.event data model problem 2004-11-11 14:25:59 +00:00
survey That virtualscales issue is hopefully fixed now. 2004-10-22 13:25:10 +00:00
wiki Wiki integration with upload class. 2004-11-08 05:32:18 +00:00
workshop Bug fix for sql for new workshop tables for mysql 2004-11-17 03:17:05 +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