moodle/mod
2009-05-06 17:25:26 +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 improve comments and add some work-in-progress warnings 2009-05-06 09:29:05 +00:00
choice MDL-18577 drop enums support - step2: enums out from install.xml files 2009-05-01 14:07:43 +00:00
data MDL-14463 search/order - make it cross-db + delete unused column from query ; merged from 19_STABLE 2009-05-06 17:25:26 +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 remove deprecated calls from course/view.php and page_course::print_header 2009-05-06 09:19:46 +00:00
glossary MDL-18058 glossary rates - secured ; merged from 19_STABLE 2009-05-06 09:25:54 +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 MDL-18670 adding proper permissions for mkdir(); merged from MOODLE_19_STABLE 2009-05-06 16:10:45 +00:00
quiz moodle_page: MDL-12212 improve comments and add some work-in-progress warnings 2009-05-06 09:29:05 +00:00
resource blocklib: MDL-19010 always include blocklib in setup.php, stip includes elsewhere 2009-05-06 09:13:16 +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