moodle/mod
2009-05-30 16:53:37 +00:00
..
assignment mod MDL-19294 Corrected package tags to docs spec 2009-05-27 05:33:12 +00:00
chat mod MDL-19294 Corrected package tags to docs spec 2009-05-27 05:33:12 +00:00
choice mod lib MDL-19294 Corrected package tag 2009-05-27 08:09:13 +00:00
data mod lib MDL-19294 Corrected package tag 2009-05-27 08:09:13 +00:00
feedback MDL-19348 - "Site after submit" option is not clear to understand 2009-05-30 16:53:37 +00:00
forum mod-forum MDL-19294 Added boilerplate and phpdocs 2009-05-27 07:27:53 +00:00
glossary mod-glossary MDL-19294 Added boilerplate and phpdocs 2009-05-27 08:47:58 +00:00
hotpot mod lib MDL-19294 Added boilerplate and phpdocs 2009-05-28 02:48:34 +00:00
label mod lib MDL-19294 Added boilerplate and phpdocs 2009-05-28 02:48:34 +00:00
lesson mod lib MDL-19294 Added boilerplate and phpdocs 2009-05-28 03:51:39 +00:00
quiz mod lib MDL-19294 Added boilerplate and phpdocs 2009-05-28 03:51:39 +00:00
resource mod lib MDL-19294 Added boilerplate and phpdocs 2009-05-28 05:30:46 +00:00
scorm mod lib MDL-19294 Added boilerplate and phpdocs 2009-05-28 05:30:46 +00:00
survey mod lib MDL-19294 Added boilerplate and phpdocs 2009-05-28 06:32:35 +00:00
wiki mod lib MDL-19294 Added boilerplate and phpdocs 2009-05-28 06:32:35 +00:00
index.html
README.txt MDL-14679 fixed references to mod.html 2008-06-01 19:09:13 +00:00
upgrade.txt MDL-18934 removed legacy grading support 2009-04-22 21:03:38 +00:00

ACTIVITY MODULES
----------------

These are main modules in Moodle, allowing various activities.


Each of these modules contains a number of expected components:

  mod_form.php: 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