moodle/mod
2017-08-14 12:10:36 +02:00
..
assign MDL-59666 mod_assign: Disable remind to grade by field in override tests 2017-08-08 12:28:39 +08:00
assignment MDL-57432 upgrade: clean < 3.0.0 upgrade steps 2017-07-10 09:16:55 +01:00
book MDL-59785 mod_book: all navigation styles must mark as completed 2017-08-10 16:11:33 +08:00
chat MDL-9367 restore: Roll only configuration dates 2017-08-01 10:46:37 +05:30
choice MDL-9367 restore: Roll only configuration dates 2017-08-01 10:46:37 +05:30
data Merge branch 'MDL-9367-master' of git://github.com/ankitagarwal/moodle 2017-08-01 13:39:38 +08:00
feedback Merge branch 'MDL-9367-master' of git://github.com/ankitagarwal/moodle 2017-08-01 13:39:38 +08:00
folder MDL-9367 restore: Roll only configuration dates 2017-08-01 10:46:37 +05:30
forum Merge branch 'wip-MDL-59736-master' of git://github.com/marinaglancy/moodle 2017-08-14 12:10:36 +02:00
glossary Merge branch 'MDL-9367-master' of git://github.com/ankitagarwal/moodle 2017-08-01 13:39:38 +08:00
imscp MDL-9367 restore: Roll only configuration dates 2017-08-01 10:46:37 +05:30
label MDL-9367 restore: Roll only configuration dates 2017-08-01 10:46:37 +05:30
lesson Merge branch 'MDL-59532-master' of git://github.com/jleyva/moodle 2017-08-07 09:42:08 +02:00
lti MDL-59668 mod_lti: use 'forceview' param to keep nav flow consistent 2017-08-03 15:35:31 +08:00
page MDL-9367 restore: Roll only configuration dates 2017-08-01 10:46:37 +05:30
quiz Merge branch 'MDL-9367-master' of git://github.com/ankitagarwal/moodle 2017-08-01 13:39:38 +08:00
resource Merge branch 'MDL-9367-master' of git://github.com/ankitagarwal/moodle 2017-08-01 13:39:38 +08:00
scorm MDL-59523 course_reset: Added date update message when resetting. 2017-08-02 10:09:29 +08:00
survey MDL-9367 restore: Roll only configuration dates 2017-08-01 10:46:37 +05:30
url Merge branch 'MDL-9367-master' of git://github.com/ankitagarwal/moodle 2017-08-01 13:39:38 +08:00
wiki MDL-59523 course_reset: Added date update message when resetting. 2017-08-02 10:09:29 +08:00
workshop MDL-59523 course_reset: Added date update message when resetting. 2017-08-02 10:09:29 +08:00
index.html
README.txt
upgrade.txt MDL-59612 core: removed hard-coded check for referer in modules 2017-07-31 12:03:28 +08: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