moodle/mod
2020-12-09 14:45:39 +08:00
..
assign MDL-70151 assign: Fix bulk change for behat 2020-11-23 11:11:23 +08:00
assignment MDL-69475 versions: bump all versions and requires in master 2020-08-18 00:47:15 +02:00
book Merge branch 'MDL-64776-master' of git://github.com/peterRd/moodle 2020-11-24 08:57:12 +08:00
chat MDL-67673 phpunit: Fix the return type of template methods 2020-10-21 12:45:59 +02:00
choice MDL-67673 phpunit: Remove expectedException annotations 2020-10-21 12:46:00 +02:00
data Merge branch 'MDL-70114-master' of git://github.com/bmbrands/moodle 2020-11-04 20:14:50 +01:00
feedback Merge branch 'MDL-68167-master' of git://github.com/rezaies/moodle 2020-10-30 13:17:02 +08:00
folder MDL-69809 mod_folder: include forcedownload setting in WS responses. 2020-11-10 20:47:57 +00:00
forum MDL-70037 mod_forum: include post modified date in external structure. 2020-12-01 00:04:25 +00:00
glossary MDL-67673 phpunit: Remove deprecated assertEquals() params 2020-10-21 12:46:00 +02:00
h5pactivity MDL-69868 h5pactivity: Prevent breaking $USER when seeing 2020-11-26 12:39:49 +02:00
imscp MDL-69475 versions: bump all versions and requires in master 2020-08-18 00:47:15 +02:00
label MDL-67673 phpunit: Fix the return type of template methods 2020-10-21 12:45:59 +02:00
lesson MDL-67673 phpunit: Fix the return type of template methods 2020-10-21 12:45:59 +02:00
lti Merge branch 'MDL-67668-master-2' of git://github.com/andrewnicols/moodle 2020-11-23 15:40:04 +08:00
page MDL-67673 phpunit: Fix the return type of template methods 2020-10-21 12:45:59 +02:00
quiz MDL-67668 behat: Update tests for inplace editable field type 2020-11-23 09:01:19 +08:00
resource MDL-67673 phpunit: Fix the return type of template methods 2020-10-21 12:45:59 +02:00
scorm Merge branch 'MDL-68896' of git://github.com/danmarsden/moodle 2020-11-18 09:32:46 +08:00
survey MDL-67673 phpunit: Fix the return type of template methods 2020-10-21 12:45:59 +02:00
url MDL-67673 phpunit: Fix the return type of template methods 2020-10-21 12:45:59 +02:00
wiki MDL-67673 phpunit: Remove deprecated assertEquals() params 2020-10-21 12:46:00 +02:00
workshop MDL-67673 phpunit: Remove deprecated assertEquals() params 2020-10-21 12:46:00 +02:00
index.html
README.txt
upgrade.txt MDL-68645 output: Do not apply filters when creating calendar events 2020-05-13 10:03:01 +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