moodle/mod
2014-01-09 01:06:01 +01:00
..
assign MDL-43590 Merge English strings from the en_fix language pack 2014-01-09 01:06:01 +01:00
assignment MDL-43590 Merge English strings from the en_fix language pack 2014-01-09 01:06:01 +01: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 MDL-43590 Merge English strings from the en_fix language pack 2014-01-09 01:06:01 +01:00
feedback MDL-43590 Merge English strings from the en_fix language pack 2014-01-09 01:06:01 +01:00
folder MDL-43590 Merge English strings from the en_fix language pack 2014-01-09 01:06:01 +01:00
forum MDL-42625 behat: Editing .feature files 2013-12-06 12:13:39 +08:00
glossary MDL-43590 Merge English strings from the en_fix language pack 2014-01-09 01:06:01 +01: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 MDL-43590 Merge English strings from the en_fix language pack 2014-01-09 01:06:01 +01:00
lti MDL-43590 Merge English strings from the en_fix language pack 2014-01-09 01:06:01 +01:00
page MDL-43044 events: Deprecate and remove code duplication from instances_list_viewed events 2013-12-06 15:59:49 +08:00
quiz MDL-43590 Merge English strings from the en_fix language pack 2014-01-09 01:06:01 +01:00
resource MDL-42930 Add 2.6.0 upgrade line 2013-11-18 11:47:17 +08:00
scorm MDL-43590 Merge English strings from the en_fix language pack 2014-01-09 01:06:01 +01: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