moodle/mod
2016-11-08 18:06:09 +08:00
..
assign Merge branch 'wip-mdl-56630' of git://github.com/rajeshtaneja/moodle 2016-11-08 14:47:25 +08:00
assignment MDL-54677 upgrade: add 3.1.0 separation line to all upgrade scripts 2016-05-23 01:31:34 +02:00
book MDL-56630 behat: Click on link in specificed block/region 2016-11-08 14:45:43 +08:00
chat MDL-55168 css: remove 0-length units 2016-09-30 09:25:25 +01:00
choice MDL-56630 behat: Click on link in specificed block/region 2016-11-08 18:06:09 +08:00
data MDL-56630 behat: Click on link in specificed block/region 2016-11-08 14:45:43 +08:00
feedback MDL-56630 behat: Click on link in specificed block/region 2016-11-08 14:45:43 +08:00
folder MDL-56307 course: Return time updated and times updated 2016-10-25 10:10:55 +01:00
forum MDL-56630 behat: Click on link in specificed block/region 2016-11-08 14:45:43 +08:00
glossary MDL-56307 course: Return time updated and times updated 2016-10-25 10:10:55 +01:00
imscp MDL-56307 course: New course_check_module_updates_since method 2016-10-25 10:10:52 +01:00
label MDL-56307 course: New course_check_module_updates_since method 2016-10-25 10:10:52 +01:00
lesson MDL-55215 lesson: JS is required for some lesson behats 2016-11-07 14:23:46 +08:00
lti Merge branch 'MDL-55841-master' of https://github.com/xow/moodle 2016-11-02 15:24:33 +00:00
page MDL-56307 course: New course_check_module_updates_since method 2016-10-25 10:10:52 +01:00
quiz Merge branch 'wip-mdl-56630' of git://github.com/rajeshtaneja/moodle 2016-11-08 14:47:25 +08:00
resource MDL-38158 core_media: Convert media players to new plugin type 2016-11-04 17:30:40 +08:00
scorm Merge branch 'master_MDL-54575' of git://github.com/danmarsden/moodle 2016-11-07 13:58:04 +08:00
survey MDL-56307 course: Return time updated and times updated 2016-10-25 10:10:55 +01:00
url MDL-38158 core_media: Convert media players to new plugin type 2016-11-04 17:30:40 +08:00
wiki MDL-56489 Lib: force_settings_menu added to pagelib. 2016-11-01 10:00:12 +08:00
workshop MDL-56630 behat: Click on link in specificed block/region 2016-11-08 14:45:43 +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