moodle/mod
2008-07-18 14:53:28 +00:00
..
assignment Drift between CVS and git 2008-06-25 17:31:23 +00:00
chat Drift between CVS and git 2008-06-25 17:31:23 +00:00
choice Drift between CVS and git 2008-06-25 17:31:23 +00:00
data MDL-15702 SQL efficiency fix Merged from 1.9 2008-07-18 07:52:36 +00:00
feedback MDL-14517 Cannot export analysis to excel by course 2008-07-18 14:53:28 +00:00
forum MDL-15697 Added a check form rule limiting post subject and forum name to 255 characters, as limited by the DB 2008-07-18 13:19:55 +00:00
glossary MDL-14279: use get_file_url instead of checking $CFG->slashargument manually (merge from 1.9) 2008-07-10 09:55:11 +00:00
hotpot improvements to generation of html from xml: 2008-07-13 12:22:32 +00:00
label "MDL-15610, execute_sql is not available in moodle 2.0, use #DB->execute instead" 2008-07-11 05:27:46 +00:00
lesson MDL-14279: use get_file_url instead of checking $CFG->slashargument manually (merge from 1.9) 2008-07-10 09:55:11 +00:00
quiz MDL-15268 "Content for Quiz Statistics report table" seperated quiz item / position stats code into a seperate class in qstats.php and now calculating item statistics too. 2008-07-18 14:36:24 +00:00
resource MDL-14279: use get_file_url instead of checking $CFG->slashargument manually (merge from 1.9) 2008-07-10 09:55:11 +00:00
scorm MDL-11892 Propogate Fixes for 'calls to expand javascript' to SCORM 1.2 code. Minor syntax alignment in player.php. 2008-07-18 06:03:51 +00:00
survey Drift between CVS and git 2008-06-25 17:31:23 +00:00
wiki Drift between CVS and git 2008-06-25 17:31:23 +00:00
index.html
README.txt MDL-14679 fixed references to mod.html 2008-06-01 19:09:13 +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