moodle/mod
2014-01-03 16:30:37 +08:00
..
assign MDL-18770 mod_assign: Set gradetype to GRADE_TYPE_NONE if feedback not enabled 2014-01-03 16:30:37 +08:00
assignment Merge branch 'MDL-43438-master' of git://github.com/FMCorz/moodle 2013-12-24 11:23:15 +13:00
book Merge branch 'MDL-35032-master' of git://github.com/FMCorz/moodle 2013-12-23 15:58:04 +13:00
chat MDL-43044 events: Add unit tests 2013-12-06 16:08:03 +08:00
choice MDL-43044 events: Add unit tests 2013-12-06 16:08:03 +08:00
data Merge branch 'MDL-43243-master' of git://github.com/andrewnicols/moodle 2013-12-24 11:56:01 +13:00
feedback MDL-43044 events: Deprecate and remove code duplication from instances_list_viewed events 2013-12-06 15:59:49 +08:00
folder MDL-40191 folder: Do not check capability in renderer 2013-12-04 18:27:55 +11:00
forum MDL-42625 behat: Editing .feature files 2013-12-06 12:13:39 +08:00
glossary MDL-43006 behat: adding javascript tag because of behat bug 2013-11-25 14:59:28 +11:00
imscp MDL-42508 imspcp: add module generator 2013-11-22 15:25:38 +11:00
label MDL-42930 Add 2.6.0 upgrade line 2013-11-18 11:47:17 +08:00
lesson Merge branch 'master-mdl43020' of https://github.com/tlock/moodle 2013-12-03 16:08:15 +08:00
lti MDL-42930 Add 2.6.0 upgrade line 2013-11-18 11:47:17 +08:00
page MDL-43044 events: Deprecate and remove code duplication from instances_list_viewed events 2013-12-06 15:59:49 +08:00
quiz Merge branch 'master-mdl33971' of https://github.com/tlock/moodle 2013-12-03 17:17:06 +01:00
resource MDL-42930 Add 2.6.0 upgrade line 2013-11-18 11:47:17 +08:00
scorm MDL-43404 behat: Avoid failures at framework level as much as possible 2013-12-19 15:48:03 +08:00
survey MDL-42930 Add 2.6.0 upgrade line 2013-11-18 11:47:17 +08:00
url MDL-40920 mod_url: replaced add_to_log calls with events 2013-12-09 18:49:55 -08:00
wiki MDL-43437 wiki: Fixed unit test for page_version_deleted event 2013-12-18 13:56:44 +08:00
workshop MDL-42962 events: Remove duplicate code from all course_module_viewed events 2013-12-03 14:24:32 +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