moodle/mod
2014-03-27 14:58:33 +08:00
..
assign MDL-42025 behat: changed behat tag _only_local to _file_upload 2014-03-19 21:22:24 +01:00
assignment MDL-44151 Amend subplugin packages. 2014-02-18 01:33:05 +01:00
book MDL-44017 Events: Deprecated content_viewed event 2014-03-07 15:16:10 +08:00
chat MDL-44017 Events: Deprecated content_viewed event 2014-03-07 15:16:10 +08:00
choice Merge branch 'wip-mdl-44017' of https://github.com/rajeshtaneja/moodle 2014-03-10 15:13:43 +08:00
data MDL-44552 Events: Fixed wrong id returned in get_url 2014-03-19 09:57:44 +08:00
feedback MDL-44653 mod_feedback - Include additional name fields using user_picture::fields() 2014-03-18 18:24:18 +08:00
folder MDL-44321 events: cleaning up course_module_instance_list_viewed event 2014-02-28 16:36:09 +08:00
forum MDL-44505 mod_forum: Make mailing subject a configurable language string 2014-03-14 11:39:15 +00:00
glossary MDL-44552 Events: Fixed wrong id returned in get_url 2014-03-19 09:57:44 +08:00
imscp Merge branch 'MDL-40916_master' of https://github.com/markn86/moodle 2014-02-25 10:47:20 +08:00
label MDL-41176 mod_label: unified @package use 2014-02-16 11:48:00 +13:00
lesson MDL-43236 behat: Updating references to deprecated methods 2014-03-07 16:05:21 +08:00
lti Merge branch 'wip-MDL-44403-master' of git://github.com/marinaglancy/moodle 2014-03-06 09:21:24 +08:00
page Merge branch 'MDL-44319-master' of git://github.com/damyon/moodle 2014-03-05 14:21:28 +08:00
quiz Merge branch 'MDL-41760-master-v8' of https://github.com/jamiepratt/moodle 2014-03-19 02:14:00 +01:00
resource MDL-44321 events: cleaning up course_module_instance_list_viewed event 2014-02-28 16:36:09 +08:00
scorm Merge branch 'MDL-43341' of git://github.com/nobelium/moodle 2014-03-19 21:22:23 +01:00
survey MDL-43236 behat: Updating references to deprecated methods 2014-03-07 16:05:21 +08:00
url MDL-44321 events: cleaning up course_module_instance_list_viewed event 2014-02-28 16:36:09 +08:00
wiki MDL-43398 wiki: remove extra Choose... option from select 2014-03-27 14:58:33 +08:00
workshop MDL-43236 behat: Fixing missing changes 2014-03-11 10:07:25 +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