moodle/mod
2012-04-10 10:26:49 +08:00
..
assignment Merge branch 'MDL-30843_b' of git://github.com/rwijaya/moodle 2012-04-10 12:34:37 +12:00
chat Merge branch 'MDL-30843_b' of git://github.com/rwijaya/moodle 2012-04-10 12:34:37 +12:00
choice MDL-32251 more E_STRICT fixes 2012-03-30 19:02:58 +02:00
data Merge branch 'MDL-30843_b' of git://github.com/rwijaya/moodle 2012-04-10 12:34:37 +12:00
feedback Merge branch 'MDL-30843_b' of git://github.com/rwijaya/moodle 2012-04-10 12:34:37 +12:00
folder MDL-32251 E_STRICT fixes part 3 2012-03-29 15:24:30 +02:00
forum Merge branch 'MDL-30843_b' of git://github.com/rwijaya/moodle 2012-04-10 12:34:37 +12:00
glossary Merge branch 'MDL-30843_b' of git://github.com/rwijaya/moodle 2012-04-10 12:34:37 +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 Merge branch 'MDL-30843_b' of git://github.com/rwijaya/moodle 2012-04-10 12:34:37 +12:00
lti MDL-32149 tests for mod_wiki, mod_lti and mod_scorm 2012-04-03 22:30:59 +02:00
page MDL-32251 E_STRICT fixes part 3 2012-03-29 15:24:30 +02:00
quiz Merge branch 'MDL-32318' of git://github.com/timhunt/moodle 2012-04-10 10:26:49 +08:00
resource MDL-32251 E_STRICT fixes part 3 2012-03-29 15:24:30 +02:00
scorm Merge branch 'MDL-30843_b' of git://github.com/rwijaya/moodle 2012-04-10 12:34:37 +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 Merge branch 'MDL-30843_b' of git://github.com/rwijaya/moodle 2012-04-10 12:34:37 +12:00
workshop MDL-32149 scale generator and workshop tests 2012-04-03 22:31:00 +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