moodle/mod
2023-02-16 10:59:55 +08:00
..
assign Merge branch 'MDL-76948' of https://github.com/larsbonczek/moodle 2023-02-15 23:01:04 +08:00
assignment MDL-76497 upgrade: add the 4.1.0 separation line to all upgrade scripts 2022-11-28 14:43:04 +08:00
bigbluebuttonbn Merge branch 'MDL-73937' of https://github.com/ssj365/moodle 2023-02-14 09:43:10 +00:00
book MDL-75830 behat: Book behat tests optimised 2023-02-02 09:08:09 +08:00
chat MDL-76583 core: Update uses of external_* classes 2023-01-19 07:34:09 +08:00
choice MDL-76583 core: Update uses of external_* classes 2023-01-19 07:34:09 +08:00
data Merge branch 'MDL-76066-master' of https://github.com/aanabit/moodle 2023-02-09 10:27:00 +08:00
feedback MDL-70586 mod_feedback: Hide the Preview questions icon for students 2023-02-06 16:33:09 +01:00
folder MDL-75337 core: Single button - core changes 2023-01-24 06:01:35 +01:00
forum MDL-76313 forum: code style changes. 2023-02-16 10:59:55 +08:00
glossary MDL-75337 core: Single button - core changes 2023-01-24 06:01:35 +01:00
h5pactivity MDL-76691 core_h5p: Add core lib changes after upgrading it 2023-02-06 16:48:07 +01:00
imscp MDL-76583 core: Update uses of external_* classes 2023-01-19 07:34:09 +08:00
label MDL-76583 core: Update uses of external_* classes 2023-01-19 07:34:09 +08:00
lesson Merge branch 'MDL-75230-master' of https://github.com/andelacruz/moodle 2023-02-15 16:12:19 +08:00
lti Merge branch 'MDL-77140-master' of https://github.com/snake/moodle 2023-02-14 15:51:32 +00:00
page MDL-75085 webservice: Fix parameter passed to external_format_value 2023-02-01 11:12:02 +08:00
quiz MDL-63608 quiz: Fix Access order when manually grading quizzes 2023-02-10 17:42:10 +00:00
resource MDL-76499 behat: Resource Behat tests optimised 2023-02-03 11:02:26 +08:00
scorm MDL-76583 core: Update uses of external_* classes 2023-01-19 07:34:09 +08:00
survey MDL-76362 various: Avoid passing nulls to functions that don't allow nulls 2023-01-23 09:15:54 +08:00
url MDL-76583 core: Update uses of external_* classes 2023-01-19 07:34:09 +08:00
wiki MDL-75912 behat: Wiki Behat tests optimised 2023-02-01 11:01:47 +08:00
workshop Merge branch 'MDL-69690-master' of https://github.com/ilyatregubov/moodle 2023-02-02 10:35:02 +08:00
index.html
README.txt
upgrade.txt MDL-74762 qbank_statistics: improve performance loading the data 2022-09-16 21:34:00 +10: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