moodle/mod
2009-05-27 05:33:12 +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 MDL-19294 Corrected package tags to docs spec 2009-05-27 05:33:12 +00:00
data mod MDL-19294 Corrected package tags to docs spec 2009-05-27 05:33:12 +00:00
feedback feedback MDL-19294 Boilerplate and Phpdocs 2009-05-27 05:30:50 +00:00
forum MDL-15249 fixed installation warnings 2009-05-25 21:04:29 +00:00
glossary MDL-14589 file browsing refactoring - moving url encoding to filelib.php for now 2009-05-20 22:32:02 +00:00
hotpot fixes for XHTML strict: add <fieldset> arround hidden form fields, use "id" instead of "name" to locate forms, use HTML entities in button captions <= and => 2009-05-24 09:03:09 +00:00
label MDL-18577 drop enums support - step2: enums out from install.xml files 2009-05-01 14:07:43 +00:00
lesson forum: MDL-19119 missing requires now course/lib.php is not included everywhere. 2009-05-08 09:00:41 +00:00
quiz fixed trailing whitespace 2009-05-26 19:01:18 +00:00
resource forum: MDL-19119 missing requires now course/lib.php is not included everywhere. 2009-05-08 09:00:41 +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-15534 wiki special pages heading title. Apply ewiki_t() to get translated heading names ; merged from 19_STABLE 2009-05-10 15:31:03 +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