moodle/mod
2014-02-16 11:52:18 +13:00
..
assign MDL-42425 assign: bumping version for new web services to take effect 2014-02-05 14:32:27 +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-42339 - removed double formatting for set_title() and set_heading() 2014-02-05 14:47:23 +08:00
choice Merge branch 'MDL-42339' of git://github.com/rwijaya/moodle 2014-02-05 15:56:30 +08:00
data Merge branch 'MDL-42339' of git://github.com/rwijaya/moodle 2014-02-05 15:56:30 +08:00
feedback Merge branch 'MDL-42339' of git://github.com/rwijaya/moodle 2014-02-05 15:56:30 +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 'MDL-42339' of git://github.com/rwijaya/moodle 2014-02-05 15:56:30 +08:00
glossary Merge branch 'MDL-42339' of git://github.com/rwijaya/moodle 2014-02-05 15:56:30 +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-42339 - removed double formatting for set_title() and set_heading() 2014-02-05 14:47:23 +08:00
lti MDL-41178 mod_lti: unified @package use 2014-02-16 11:52:18 +13:00
page MDL-42339 - removed double formatting for set_title() and set_heading() 2014-02-05 14:47:23 +08:00
quiz Merge branch 'MDL-42339' of git://github.com/rwijaya/moodle 2014-02-05 15:56:30 +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-42339 - removed double formatting for set_title() and set_heading() 2014-02-05 14:47:23 +08: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-42339' of git://github.com/rwijaya/moodle 2014-02-05 15:56:30 +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