moodle/mod
2008-07-02 07:34:52 +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-15423] Remove useless latlong formatting operations. Merged from MOODLE_19_STABLE. 2008-06-26 08:07:05 +00:00
feedback "MDL-15380, see tracker" 2008-06-24 06:03:50 +00:00
forum "MDL-12843, add proper html id, thanks ken" 2008-07-02 07:34:52 +00:00
glossary MDL-15455 fixed incomplete dml query conversion 2008-06-28 11:10:33 +00:00
hotpot MDL-15184: fix sql injection vulnerability 2008-07-01 10:49:22 +00:00
label Drift between CVS and git 2008-06-25 17:31:23 +00:00
lesson Drift between CVS and git 2008-06-25 17:31:23 +00:00
quiz MDL-15494 - No allowance for the possibility that something might go wrong when processing the response to a question. 2008-07-01 13:34:09 +00:00
resource MDL-15387 fixing regression spotted by John Beedell; merged from MOODLE_19_STABLE 2008-07-01 22:26:38 +00:00
scorm Drift between CVS and git 2008-06-25 17:31:23 +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