moodle/mod
2017-08-23 09:56:00 +08:00
..
assign Merge branch 'MDL-53848_form_hideif' of git://github.com/davosmith/moodle 2017-08-23 09:56:00 +08:00
assignment MDL-57432 upgrade: clean < 3.0.0 upgrade steps 2017-07-10 09:16:55 +01:00
book Merge branch 'MDL-59204_master_v2' of git://github.com/markn86/moodle 2017-08-22 12:46:23 +08:00
chat MDL-59204 analytics: added corresponding name '_help' strings 2017-08-18 18:02:38 +08:00
choice MDL-59204 analytics: added corresponding name '_help' strings 2017-08-18 18:02:38 +08:00
data MDL-59204 analytics: added corresponding name '_help' strings 2017-08-18 18:02:38 +08:00
feedback MDL-59204 analytics: added corresponding name '_help' strings 2017-08-18 18:02:38 +08:00
folder MDL-59204 analytics: added corresponding name '_help' strings 2017-08-18 18:02:38 +08:00
forum Merge branch 'MDL-59204_master_v2' of git://github.com/markn86/moodle 2017-08-22 12:46:23 +08:00
glossary MDL-59204 analytics: added corresponding name '_help' strings 2017-08-18 18:02:38 +08:00
imscp MDL-59204 analytics: added corresponding name '_help' strings 2017-08-18 18:02:38 +08:00
label MDL-59204 analytics: added corresponding name '_help' strings 2017-08-18 18:02:38 +08:00
lesson Merge branch 'MDL-59204_master_v2' of git://github.com/markn86/moodle 2017-08-22 12:46:23 +08:00
lti MDL-59204 analytics: added corresponding name '_help' strings 2017-08-18 18:02:38 +08:00
page MDL-59204 analytics: added corresponding name '_help' strings 2017-08-18 18:02:38 +08:00
quiz MDL-59204 analytics: added corresponding name '_help' strings 2017-08-18 18:02:38 +08:00
resource MDL-59204 analytics: added corresponding name '_help' strings 2017-08-18 18:02:38 +08:00
scorm MDL-59204 analytics: added corresponding name '_help' strings 2017-08-18 18:02:38 +08:00
survey MDL-59204 analytics: added corresponding name '_help' strings 2017-08-18 18:02:38 +08:00
url MDL-59204 analytics: added corresponding name '_help' strings 2017-08-18 18:02:38 +08:00
wiki MDL-59204 analytics: added corresponding name '_help' strings 2017-08-18 18:02:38 +08:00
workshop MDL-59204 analytics: added corresponding name '_help' strings 2017-08-18 18:02:38 +08:00
index.html
README.txt
upgrade.txt MDL-59612 core: removed hard-coded check for referer in modules 2017-07-31 12:03:28 +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