moodle/mod
2012-04-16 15:00:20 +12:00
..
assignment Revert "MDL-30843 and MDL-30842 - accessibility compliance: Add <label> for form input text and select tag" 2012-04-11 17:18:58 +12:00
chat Revert "MDL-30843 and MDL-30842 - accessibility compliance: Add <label> for form input text and select tag" 2012-04-11 17:18:58 +12:00
choice MDL-32251 more E_STRICT fixes 2012-03-30 19:02:58 +02:00
data Revert "MDL-30843 and MDL-30842 - accessibility compliance: Add <label> for form input text and select tag" 2012-04-11 17:18:58 +12:00
feedback Merge branch 'MDL-32316_master_wip' of git://github.com/grabs/moodle 2012-04-16 11:00:43 +12:00
folder MDL-32251 E_STRICT fixes part 3 2012-03-29 15:24:30 +02:00
forum Revert "MDL-30843 and MDL-30842 - accessibility compliance: Add <label> for form input text and select tag" 2012-04-11 17:18:58 +12:00
glossary Revert "MDL-30843 and MDL-30842 - accessibility compliance: Add <label> for form input text and select tag" 2012-04-11 17:18:58 +12:00
imscp MDL-32251 E_STRICT fixes part 3 2012-03-29 15:24:30 +02:00
label MDL-19125 module restrictions: addinstance capabilities for all mods 2012-03-15 17:13:43 +00:00
lesson Revert "MDL-30843 and MDL-30842 - accessibility compliance: Add <label> for form input text and select tag" 2012-04-11 17:18:58 +12:00
lti MDL-32149 tests for mod_wiki, mod_lti and mod_scorm 2012-04-03 22:30:59 +02:00
page MDL-32323 fix generator file name typos 2012-04-10 15:27:12 +02:00
quiz Revert "MDL-30843 and MDL-30842 - accessibility compliance: Add <label> for form input text and select tag" 2012-04-11 17:18:58 +12:00
resource MDL-32251 E_STRICT fixes part 3 2012-03-29 15:24:30 +02:00
scorm MDL-32388 SCORM: Fix chrome pop-ups 2012-04-11 20:46:53 +12:00
survey MDL-19125 module restrictions: addinstance capabilities for all mods 2012-03-15 17:13:43 +00:00
url MDL-32251 E_STRICT fixes part 3 2012-03-29 15:24:30 +02:00
wiki Revert "MDL-30843 and MDL-30842 - accessibility compliance: Add <label> for form input text and select tag" 2012-04-11 17:18:58 +12:00
workshop MDL-26099 fixing the strict standards warning 2012-04-13 14:04:43 +02:00
index.html
README.txt Fixed location of icon.gif 2010-03-24 10:56:22 +00:00
upgrade.txt MDL-19125 module restrictions: document change in mod/upgrade.txt 2012-03-15 17:13:54 +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

  pix/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