moodle/mod
2014-04-30 16:31:41 +08:00
..
assign Merge branch 'mdl44575-master' of https://github.com/tlock/moodle 2014-04-30 16:31:41 +08:00
assignment MDL-45219 remove old assignment course instance list 2014-04-23 11:53:35 +08:00
book MDL-43557 events: fixed minor issues in existing events 2014-04-29 19:16:11 -07:00
chat MDL-43557 events: fixed minor issues in existing events 2014-04-29 19:16:11 -07:00
choice MDL-43557 events: fixed minor issues in existing events 2014-04-29 19:16:11 -07:00
data MDL-43557 events: fixed minor issues in existing events 2014-04-29 19:16:11 -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-43557 events: fixed minor issues in existing events 2014-04-29 19:16:11 -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 MDL-43557 events: fixed minor issues in existing events 2014-04-29 19:16:11 -07:00
lti MDL-43557 events: fixed minor issues in existing events 2014-04-29 19:16:11 -07:00
page MDL-43557 events: fixed minor issues in existing events 2014-04-29 19:16:11 -07:00
quiz Merge branch 'MDL-45321' of git://github.com/timhunt/moodle 2014-04-30 15:25:22 +08:00
resource MDL-43557 events: fixed minor issues in existing events 2014-04-29 19:16:11 -07:00
scorm MDL-43557 events: fixed minor issues in existing events 2014-04-29 19:16:11 -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-43557 fix relateduserid in \mod_workshop\event\submission_assessed 2014-04-30 11:03:43 +08: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