moodle/mod
stronk7 62067fe3ae Header is out and "Site:" is in.
Partially solved Bug 1837
(http://moodle.org/bugs/bug.php?op=show&bugid=1837)

Merged from MOODLE_14_STABLE
2004-11-16 23:12:21 +00:00
..
assignment Merged mailout fix from STABLE 2004-11-07 15:27:19 +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 Header is out and "Site:" is in. 2004-11-16 23:12:21 +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 Some XHTML compatibility changes 2004-11-04 09:24:51 +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 Stock comments can now contain single quotes. 2004-11-16 20:49:25 +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