moodle/mod
2005-06-06 12:41:44 +00:00
..
assignment Small change merged from MOODLE_15_STABLE that to check $scalegrades. 2005-06-06 09:53:18 +00:00
chat Tabs are out 2005-05-16 22:22:31 +00:00
choice XHTML fix, 2005-05-23 22:13:15 +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 Added support for forum->trackingtype 2005-06-03 17:37:11 +00:00
glossary Merged extra style from stable 2005-05-27 14:58:15 +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 Merged fixes from stable 2005-06-03 12:22:54 +00:00
lesson forgot to escape some " 2005-05-27 22:28:55 +00:00
quiz Merged from stable 2005-06-05 20:51:15 +00:00
resource Tabs are out 2005-05-16 23:42:48 +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