moodle/mod
2017-01-16 13:22:50 +00:00
..
assign Merge branch 'wip-mdl-56519-m' of https://github.com/rajeshtaneja/moodle 2017-01-11 02:42:29 +01:00
assignment MDL-57266 upgrade: add 3.2.0 separation line to all upgrade scripts 2016-12-05 17:10:20 +01:00
book MDL-56519 behat: Fixed lint errors 2017-01-03 09:12:54 +08:00
chat MDL-55568 chat: chat_refresh_events should only create published events 2016-12-13 18:52:33 -05:00
choice MDL-56519 behat: Fixed lint errors 2017-01-03 09:12:54 +08:00
data MDL-56519 behat: Fixed lint errors 2017-01-03 09:12:54 +08:00
feedback MDL-56912 feedback: empty multichoice questions do not submit 2016-12-13 15:00:41 +08:00
folder MDL-57266 upgrade: add 3.2.0 separation line to all upgrade scripts 2016-12-05 17:10:20 +01:00
forum Merge branch 'wip-mdl-56519-m' of https://github.com/rajeshtaneja/moodle 2017-01-11 02:42:29 +01:00
glossary MDL-56519 behat: Fixed lint errors 2017-01-03 09:12:54 +08:00
imscp MDL-57266 upgrade: add 3.2.0 separation line to all upgrade scripts 2016-12-05 17:10:20 +01:00
label Merge branch 'wip-MDL-57187-master' of https://github.com/marinaglancy/moodle 2016-12-19 12:46:19 +01:00
lesson Merge branch 'wip-mdl-56519-m' of https://github.com/rajeshtaneja/moodle 2017-01-11 02:42:29 +01:00
lti Merge branch 'wip-mdl-56519-m' of https://github.com/rajeshtaneja/moodle 2017-01-11 02:42:29 +01:00
page MDL-57266 upgrade: add 3.2.0 separation line to all upgrade scripts 2016-12-05 17:10:20 +01:00
quiz MDL-57490 quiz: convert legacy js to jquery 2017-01-16 13:22:50 +00:00
resource MDL-57266 upgrade: add 3.2.0 separation line to all upgrade scripts 2016-12-05 17:10:20 +01:00
scorm MDL-57490 scorm: convert legacy js to jquery 2017-01-16 13:22:50 +00:00
survey MDL-57266 upgrade: add 3.2.0 separation line to all upgrade scripts 2016-12-05 17:10:20 +01:00
url MDL-57266 upgrade: add 3.2.0 separation line to all upgrade scripts 2016-12-05 17:10:20 +01:00
wiki MDL-56519 behat: Fixed lint errors 2017-01-03 09:12:54 +08:00
workshop MDL-56519 behat: Fixed lint errors 2017-01-03 09:12:54 +08:00
index.html
README.txt
upgrade.txt MDL-56307 course: New course_check_module_updates_since method 2016-10-25 10:10:52 +01: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