moodle/mod
2014-04-21 10:51:38 +08:00
..
assign Merge branch 'MDL-45119-master' of git://github.com/andrewnicols/moodle 2014-04-17 16:17:12 +08:00
assignment MDL-44151 Amend subplugin packages. 2014-02-18 01:33:05 +01:00
book MDL-45144 describe mod_book events changes 2014-04-17 15:35:03 +08:00
chat Merge branch 'MDL-45010-master' of git://github.com/FMCorz/moodle 2014-04-18 14:54:54 +08:00
choice Revert "MDL-41283 report_participation: Fixed legacy actions returned from api's" 2014-04-15 17:14:57 +08:00
data Merge branch 'MDL-44621_master' of git://github.com/dmonllao/moodle 2014-04-17 11:04:10 +08:00
feedback Revert "MDL-41283 report_participation: Fixed legacy actions returned from api's" 2014-04-15 17:14:57 +08:00
folder MDL-41286 report_outline: updated report to use logging api 2014-04-15 22:42:59 -07:00
forum Merge branch 'MDL-44619_master' of git://github.com/dmonllao/moodle 2014-04-17 17:02:04 +08:00
glossary Revert "MDL-41283 report_participation: Fixed legacy actions returned from api's" 2014-04-15 17:14:57 +08:00
imscp MDL-41286 report_outline: updated report to use logging api 2014-04-15 22:42:59 -07:00
label MDL-41283 report_participation: Added phpdoc about function not used 2014-04-15 13:31:03 +08:00
lesson Revert "MDL-41283 report_participation: Fixed legacy actions returned from api's" 2014-04-15 17:14:57 +08:00
lti MDL-45035 events: Fix @package and @since tags in Moodle 2.7 events 2014-04-11 13:45:33 +08:00
page MDL-41286 report_outline: updated report to use logging api 2014-04-15 22:42:59 -07:00
quiz Merge branch 'MDL-45145_master' of https://github.com/markn86/moodle 2014-04-21 10:51:38 +08:00
resource MDL-41286 report_outline: updated report to use logging api 2014-04-15 22:42:59 -07:00
scorm Revert "MDL-41283 report_participation: Fixed legacy actions returned from api's" 2014-04-15 17:14:57 +08:00
survey Merge branch 'wip-MDL-43626-master' of git://github.com/abgreeve/moodle 2014-04-18 10:52:45 +08:00
url MDL-41286 report_outline: updated report to use logging api 2014-04-15 22:42:59 -07:00
wiki MDL-41286 report_outline: updated report to use logging api 2014-04-15 22:42:59 -07:00
workshop Merge branch 'wip-MDL-45116_master' of https://github.com/kwiliarty/moodle 2014-04-17 08:39:34 +12:00
index.html
README.txt
upgrade.txt MDL-41286 report_outline: updated report to use logging api 2014-04-15 22:42:59 -07: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