moodle/mod
2020-11-04 13:29:31 +00:00
..
assign Merge branch 'MDL-67673' of https://github.com/stronk7/moodle into master 2020-10-21 17:38:05 +02:00
assignment MDL-69475 versions: bump all versions and requires in master 2020-08-18 00:47:15 +02:00
book MDL-67673 phpunit: Fix the return type of template methods 2020-10-21 12:45:59 +02: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 MDL-70114 mod_data: add border for to textarea 2020-11-04 13:29:31 +00:00
feedback Merge branch 'MDL-68167-master' of git://github.com/rezaies/moodle 2020-10-30 13:17:02 +08:00
folder MDL-67673 phpunit: Fix the return type of template methods 2020-10-21 12:45:59 +02:00
forum Merge branch 'MDL-68167-master' of git://github.com/rezaies/moodle 2020-10-30 13:17:02 +08:00
glossary MDL-67673 phpunit: Remove deprecated assertEquals() params 2020-10-21 12:46:00 +02:00
h5pactivity Merge branch 'MDL-69174-master' of git://github.com/sarjona/moodle into master 2020-09-02 13:11:33 +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-67301-dynreg-squashed' of https://github.com/cengage/moodle 2020-10-26 12:40:31 +08:00
page MDL-67673 phpunit: Fix the return type of template methods 2020-10-21 12:45:59 +02:00
quiz MDL-69716 mod_quiz: No timestamp for in progress attempts 2020-10-23 16:01:15 +02:00
resource MDL-67673 phpunit: Fix the return type of template methods 2020-10-21 12:45:59 +02:00
scorm MDL-67673 phpunit: Remove expectedException annotations 2020-10-21 12:46:00 +02: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