moodle/mod
2014-05-05 17:41:01 +08:00
..
assign MDL-45357 events: changed event descriptions to ensure consistency in core 2014-05-05 00:55:50 -07:00
assignment MDL-45219 remove old assignment course instance list 2014-04-23 11:53:35 +08:00
book Merge branch 'MDL-45342-master' of git://github.com/ankitagarwal/moodle 2014-05-05 17:17:45 +08:00
chat MDL-43557 events: fixed minor issues in existing events 2014-04-29 19:16:11 -07:00
choice MDL-45262 remove set_page_detail() leftover from choice report 2014-04-30 15:25:47 +08:00
data MDL-45357 events: changed event descriptions to ensure consistency in core 2014-05-05 00:55:50 -07:00
feedback MDL-43557 events: fixed minor issues in existing events 2014-04-29 19:16:11 -07:00
folder MDL-43557 events: fixed minor issues in existing events 2014-04-29 19:16:11 -07:00
forum MDL-45357 events: changed event descriptions to ensure consistency in core 2014-05-05 00:55:50 -07:00
glossary MDL-43557 events: fixed minor issues in existing events 2014-04-29 19:16:11 -07:00
imscp MDL-43557 events: fixed minor issues in existing events 2014-04-29 19:16:11 -07:00
label MDL-41283 report_participation: Added phpdoc about function not used 2014-04-15 13:31:03 +08:00
lesson Merge branch 'MDL-45357_master' of git://github.com/markn86/moodle 2014-05-05 16:09:53 +08:00
lti Merge branch 'MDL-34904-master' of git://github.com/ankitagarwal/moodle 2014-05-05 17:41:01 +08:00
page MDL-43557 events: fixed minor issues in existing events 2014-04-29 19:16:11 -07:00
quiz MDL-45357 events: changed event descriptions to ensure consistency in core 2014-05-05 00:55:50 -07:00
resource MDL-43557 events: fixed minor issues in existing events 2014-04-29 19:16:11 -07:00
scorm MDL-45357 events: changed event descriptions to ensure consistency in core 2014-05-05 00:55:50 -07:00
survey MDL-43557 events: fixed minor issues in existing events 2014-04-29 19:16:11 -07:00
url MDL-43557 events: fixed minor issues in existing events 2014-04-29 19:16:11 -07:00
wiki MDL-43557 events: fixed minor issues in existing events 2014-04-29 19:16:11 -07:00
workshop MDL-45357 events: changed event descriptions to ensure consistency in core 2014-05-05 00:55:50 -07: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