moodle/mod
2019-10-02 16:49:30 +02:00
..
assign Merge branch 'MDL-65968-master' of git://github.com/jleyva/moodle 2019-09-24 12:01:10 +08:00
assignment MDL-66022 core: Remove unused subplugin files 2019-06-27 08:18:24 +08:00
book MDL-65026 course: Fix modules intro formatting in WS 2019-09-16 13:04:26 +02:00
chat MDL-65026 course: Fix modules intro formatting in WS 2019-09-16 13:04:26 +02:00
choice MDL-65026 course: Fix modules intro formatting in WS 2019-09-16 13:04:26 +02:00
data Merge branch 'MDL-66733-master' of git://github.com/andrewnicols/moodle 2019-09-23 23:35:42 +02:00
feedback Merge branch 'MDL-65968-master' of git://github.com/jleyva/moodle 2019-09-24 12:01:10 +08:00
folder MDL-65026 course: Fix modules intro formatting in WS 2019-09-16 13:04:26 +02:00
forum Merge branch 'MDL-66477-master' of git://github.com/junpataleta/moodle 2019-10-02 16:15:13 +08:00
glossary Merge branch 'MDL-66733-master' of git://github.com/andrewnicols/moodle 2019-09-23 23:35:42 +02:00
imscp MDL-65957 mod_imscp: Add required @file_upload tag in behat scenarios 2019-10-01 09:35:53 +08:00
label MDL-65026 course: Fix modules intro formatting in WS 2019-09-16 13:04:26 +02:00
lesson Merge branch 'MDL-65968-master' of git://github.com/jleyva/moodle 2019-09-24 12:01:10 +08:00
lti MDL-65026 course: Fix modules intro formatting in WS 2019-09-16 13:04:26 +02:00
page MDL-65026 course: Fix modules intro formatting in WS 2019-09-16 13:04:26 +02:00
quiz Merge branch 'MDL-65968-master' of git://github.com/jleyva/moodle 2019-09-24 12:01:10 +08:00
resource MDL-65026 course: Fix modules intro formatting in WS 2019-09-16 13:04:26 +02:00
scorm Merge branch 'MDL-66733-master' of git://github.com/andrewnicols/moodle 2019-09-23 23:35:42 +02:00
survey MDL-65026 course: Fix modules intro formatting in WS 2019-09-16 13:04:26 +02:00
url MDL-65026 course: Fix modules intro formatting in WS 2019-09-16 13:04:26 +02:00
wiki MDL-65026 course: Fix modules intro formatting in WS 2019-09-16 13:04:26 +02:00
workshop MDL-65026 course: Fix modules intro formatting in WS 2019-09-16 13:04:26 +02:00
index.html
README.txt
upgrade.txt MDL-57487 course: final deprecation external::get_activities_overview 2019-06-14 17:41:18 +02: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