moodle/mod
2012-04-22 17:41:47 +02:00
..
assignment MDL-31607 use full course object for require_login() if already available 2012-04-22 17:41:47 +02:00
chat MDL-31607 use full course object for require_login() if already available 2012-04-22 17:41:47 +02:00
choice MDL-31607 use full course object for require_login() if already available 2012-04-22 17:41:47 +02:00
data MDL-31607 use full course object for require_login() if already available 2012-04-22 17:41:47 +02:00
feedback MDL-31607 use full course object for require_login() if already available 2012-04-22 17:41:47 +02:00
folder Merge branch 'MDL-29174-master' of git://github.com/raymanuk/moodle 2012-04-16 17:37:06 +12:00
forum MDL-31607 use full course object for require_login() if already available 2012-04-22 17:41:47 +02:00
glossary MDL-31607 use full course object for require_login() if already available 2012-04-22 17:41:47 +02:00
imscp Merge branch 'MDL-29174-master' of git://github.com/raymanuk/moodle 2012-04-16 17:37:06 +12:00
label MDL-19125 module restrictions: addinstance capabilities for all mods 2012-03-15 17:13:43 +00:00
lesson MDL-31607 use full course object for require_login() if already available 2012-04-22 17:41:47 +02:00
lti MDL-32149 tests for mod_wiki, mod_lti and mod_scorm 2012-04-03 22:30:59 +02:00
page Merge branch 'w16_MDL-32400_m23_phpunit4' of git://github.com/skodak/moodle 2012-04-16 16:12:35 +08:00
quiz MDL-31607 use full course object for require_login() if already available 2012-04-22 17:41:47 +02:00
resource MDL-32251 E_STRICT fixes part 3 2012-03-29 15:24:30 +02:00
scorm MDL-31607 use full course object for require_login() if already available 2012-04-22 17:41:47 +02:00
survey MDL-31607 use full course object for require_login() if already available 2012-04-22 17:41:47 +02:00
url Merge branch 'MDL-29174-master' of git://github.com/raymanuk/moodle 2012-04-16 17:37:06 +12:00
wiki MDL-31607 use full course object for require_login() if already available 2012-04-22 17:41:47 +02:00
workshop Merge branch 'MDL-25660-workshop-calendar' of git://github.com/mudrd8mz/moodle 2012-04-17 16:31:41 +08:00
index.html
README.txt
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