moodle/mod
2009-05-06 08:59:29 +00:00
..
assignment MDL-18577 drop enums support - step2: enums out from install.xml files 2009-05-01 14:07:43 +00:00
chat moodle_page: MDL-12212 Kill legacy url_... and blocks_... methods 2009-05-06 08:55:53 +00:00
choice MDL-18577 drop enums support - step2: enums out from install.xml files 2009-05-01 14:07:43 +00:00
data moodle_page: MDL-12212 Kill legacy url_... and blocks_... methods 2009-05-06 08:55:53 +00:00
feedback MDL-18577 drop enums support - step2: enums out from install.xml files 2009-05-01 14:07:43 +00:00
forum moodle_page: MDL-12212 start of new moodle_page class 2009-05-06 08:29:22 +00:00
glossary MDL-19067 removed obsoleted string (never used in any STABLE branch) 2009-05-05 09:00:24 +00:00
hotpot moodle_page: MDL-12212 kill $CFG->pagepath (use $PAGE->set_pagetype) 2009-05-06 08:38:55 +00:00
label MDL-18577 drop enums support - step2: enums out from install.xml files 2009-05-01 14:07:43 +00:00
lesson moodle_page: MDL-12212 Kill legacy url_... and blocks_... methods 2009-05-06 08:55:53 +00:00
quiz moodle_page: MDL-12212 Kill legacy url_... and blocks_... methods 2009-05-06 08:55:53 +00:00
resource moodle_page: MDL-12212 Kill legacy url_... and blocks_... methods 2009-05-06 08:55:53 +00:00
scorm moodle_page: MDL-12212 reimplement user_is_editing, deprecate isediting 2009-05-06 08:59:29 +00:00
survey moodle_page: MDL-12212 Kill legacy url_... and blocks_... methods 2009-05-06 08:55:53 +00:00
wiki MDL-18577 drop enums support - step2: enums out from install.xml files 2009-05-01 14:07:43 +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