moodle/mod
2014-02-18 10:16:15 +08:00
..
assign Merge branch 'MDL-44079-master' of git://github.com/andrewnicols/moodle 2014-02-17 08:48:39 +13:00
assignment MDL-44151 Amend subplugin packages. 2014-02-18 01:33:05 +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-44152 mod_chat: unified @package use 2014-02-18 11:25:08 +13:00
choice MDL-44153 mod_choice: unified @package use 2014-02-18 11:24:30 +13:00
data Merge branch '44154-27' of git://github.com/samhemelryk/moodle 2014-02-18 00:55:19 +01:00
feedback Merge branch '44155-27' of git://github.com/samhemelryk/moodle 2014-02-18 00:54:28 +01:00
folder MDL-44156 mod_resource: unified @package use 2014-02-18 11:19:33 +13:00
forum Merge branch '44157-27' of git://github.com/samhemelryk/moodle 2014-02-18 00:51:33 +01:00
glossary Merge branch '44158-27' of git://github.com/samhemelryk/moodle 2014-02-17 14:48:01 +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-42339 - removed double formatting for set_title() and set_heading() 2014-02-05 14:47:23 +08: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-43479-master' of https://github.com/jamiepratt/moodle 2014-02-18 10:16:15 +08:00
resource MDL-44156 mod_resource: unified @package use 2014-02-18 11:19:33 +13: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-44156 mod_resource: unified @package use 2014-02-18 11:19:33 +13:00
wiki MDL-44103 mod_wiki: fixed copyright typo 2014-02-16 12:14:25 +13: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