moodle/mod
2008-07-23 00:32:54 +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-15787 Using hidden feedbacks on front page 2008-07-22 22:28:35 +00:00
forum MDL-15317, when forum is invisible, only users with 'mod/forum:managesubscriptions' capability can subscrib forum, merged from MOODLE_19_STABLE. 2008-07-21 09:20:40 +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-15198 "non-standard sql in reportlib.php" similar sql used here, fixing. 2008-07-22 13:06:54 +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-9077 switch from client to server side validation for reference field as client side not supported for this type (file upload name). 2008-07-23 00:32:54 +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 To stop people browsing modules 2005-01-23 04:15:13 +00:00
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