moodle/mod
2014-02-04 08:28:56 +13:00
..
assign Merge branch 'MDL-43805-master' of git://github.com/damyon/moodle 2014-02-03 16:09:09 +08:00
assignment MDL-43040 Replace $module with $plugin in all mod/*/version.php 2014-01-29 00:36:12 +01:00
book Merge branch 'MDL-43440-master' of git://github.com/mr-russ/moodle 2014-02-03 13:42:23 +08:00
chat MDL-43736 Events: Updated unit test to test context not used in event 2014-01-29 11:39:50 +08:00
choice Merge branch 'MDL-43440-master' of git://github.com/mr-russ/moodle 2014-02-03 13:42:23 +08:00
data Merge branch 'MDL-43440-master' of git://github.com/mr-russ/moodle 2014-02-03 13:42:23 +08:00
feedback Merge branch 'MDL-43440-master' of git://github.com/mr-russ/moodle 2014-02-03 13:42:23 +08:00
folder MDL-43736 Events: Updated unit test to test context not used in event 2014-01-29 11:39:50 +08:00
forum Merge branch 'wip-MDL-39942-master' of https://github.com/kwiliarty/moodle 2014-02-04 08:28:56 +13:00
glossary Merge branch 'MDL-43440-master' of git://github.com/mr-russ/moodle 2014-02-03 13:42:23 +08:00
imscp MDL-43040 Replace $module with $plugin in all mod/*/version.php 2014-01-29 00:36:12 +01:00
label MDL-43040 Replace $module with $plugin in all mod/*/version.php 2014-01-29 00:36:12 +01:00
lesson MDL-43736 Events: Updated unit test to test context not used in event 2014-01-29 11:39:50 +08:00
lti MDL-43040 Replace $module with $plugin in all mod/*/version.php 2014-01-29 00:36:12 +01:00
page MDL-43040 Replace $module with $plugin in all mod/*/version.php 2014-01-29 00:36:12 +01:00
quiz MDL-43736 Events: Updated unit test to test context not used in event 2014-01-29 11:39:50 +08:00
resource MDL-43736 Events: Updated unit test to test context not used in event 2014-01-29 11:39:50 +08:00
scorm Merge branch 'MDL-43440-master' of git://github.com/mr-russ/moodle 2014-02-03 13:42:23 +08:00
survey MDL-43040 Replace $module with $plugin in all mod/*/version.php 2014-01-29 00:36:12 +01:00
url MDL-43040 Replace $module with $plugin in all mod/*/version.php 2014-01-29 00:36:12 +01:00
wiki Merge branch 'MDL-43440-master' of git://github.com/mr-russ/moodle 2014-02-03 13:42:23 +08:00
workshop MDL-43736 Events: event->contextinstanceid should be used where possible 2014-01-29 11:39:44 +08:00
index.html
README.txt
upgrade.txt Merge branch 'wip-mdl-31405-new' of git://github.com/rajeshtaneja/moodle 2013-10-21 10:57:44 +08: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