moodle/mod
2009-07-22 09:49:48 +00:00
..
assignment MDL-14589 added missing require_login() 2009-07-19 08:56:45 +00:00
chat themes & blocks - MDL-19077 & MDL-19010 blocks are now printed by the theme 2009-07-09 07:35:03 +00:00
choice javascript MDL-16706 Removed inline script call in mod choice and scorm 2009-06-23 01:18:22 +00:00
data MDL-14589 added missing require_login() 2009-07-19 08:56:45 +00:00
feedback feedback MDL-19773 - temporary work-around so cron can run. 2009-07-13 05:44:35 +00:00
forum MDL-14589 added missing require_login() 2009-07-19 08:56:45 +00:00
glossary MDL-14589 added missing require_login() 2009-07-19 08:56:45 +00:00
hotpot MDL-19690 - lots more $CFG->pixpath to $OUTPUT->old_icon_url 2009-07-02 12:07:58 +00:00
label MDL-16438 centralise information about plugins to avoid duplication, includes local customisation conversion to standard plugin structure + fixes for some recent regressions; see tracker for more details and links to docs and forums discussions 2009-06-19 14:25:56 +00:00
lesson themes & blocks - MDL-19077 & MDL-19010 blocks are now printed by the theme 2009-07-09 07:35:03 +00:00
quiz quiz: fix URL escaping issues. 2009-07-22 09:49:48 +00:00
resource MDL-19882 Add remaining missing require_login-s before require_capability. 2009-07-20 09:46:53 +00:00
scorm MDL-14589 added missing require_login() 2009-07-19 08:56:45 +00:00
survey mod-survey MDL-19621 Fixed notices appearing in generated charts 2009-06-25 04:04:01 +00:00
wiki filelib MDL-19707 Converted existing ...str_replace('png','gif')... to use file_extension_icon and file_mimetype_icon 2009-07-07 06:16:01 +00:00
index.html
README.txt fixed obsolete readme info 2009-07-09 20:02:27 +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/install.xml: 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