moodle/mod
2009-07-02 15:11:28 +00:00
..
assignment MDL-19690 - lots more $CFG->pixpath to $OUTPUT->old_icon_url 2009-07-02 12:07:58 +00:00
chat MDL-19690 - eliminate the $OUTPUT->initialise_deprecated_cfg_pixpath horrible hack. 2009-07-02 11:23:47 +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-19690 - Eliminate all remaining $CFG->modpixpath apart from mod/scorm 2009-07-02 12:25:19 +00:00
feedback MDL-19690 - lots more $CFG->pixpath to $OUTPUT->old_icon_url 2009-07-02 12:07:58 +00:00
forum MDL-19690 - lots more $CFG->pixpath to $OUTPUT->old_icon_url 2009-07-02 12:07:58 +00:00
glossary MDL-19690 - lots more $CFG->pixpath to $OUTPUT->old_icon_url 2009-07-02 11:09:15 +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 MDL-19690 - first 53 $CFG->pixpath to $OUTPUT->old_icon_url 2009-07-02 10:06:39 +00:00
quiz MDL-16438 fixed incomplete plugin centralisation, sorry; unfortunately install is kind of non-working now; this may break current dev installs :-( 2009-07-02 15:11:28 +00:00
resource MDL-16438 dixed resource borking install - no code execution in lib.php files! 2009-07-02 15:01:22 +00:00
scorm MDL-19690 - lots more $CFG->pixpath to $OUTPUT->old_icon_url 2009-07-02 11:09:15 +00:00
survey mod-survey MDL-19621 Fixed notices appearing in generated charts 2009-06-25 04:04:01 +00:00
wiki MDL-19418 Replaced ereg* by preg* 2009-06-22 01:22:37 +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