moodle/mod
2010-07-16 09:32:21 +00:00
..
assignment MDL-22609, fixed assignment files tree view 2010-07-14 09:41:13 +00:00
chat MDL-23204 convert text to html in chat intro 2010-07-16 09:02:59 +00:00
choice Choice MDL-18602 - don't need these extra sql calls. - thanks to Brian Gray for pointing it out! 2010-07-16 00:55:54 +00:00
data MDL-23204 convert text to html in data intro 2010-07-16 09:06:28 +00:00
feedback MDL-23275 - Feedback error when adding question 2010-07-14 19:38:57 +00:00
folder MDL-23204 convert text to html in folder intro 2010-07-16 09:10:49 +00:00
forum rating MDL-23187 added rating caps to those listed within activity cap check pages 2010-07-16 07:42:10 +00:00
glossary MDL-23204 convert text to html in glossary intro 2010-07-16 09:14:37 +00:00
hotpot MDL-23234 finally standardised use of settings.php across all plugins - the only partial exceptions now are report and local plugins 2010-07-13 13:56:55 +00:00
imscp MDL-23204 convert text to html in imscp intro 2010-07-16 09:15:00 +00:00
label MDL-23204 fixed label intro format upgrade 2010-07-16 09:20:22 +00:00
lesson adding hack note 2010-07-15 14:53:51 +00:00
page MDL-23204 convert text to html in page intro 2010-07-16 09:21:06 +00:00
quiz MDL-23204 convert text to html in quiz intro 2010-07-16 09:22:57 +00:00
resource MDL-23204 convert text to html in resource intro 2010-07-16 09:30:19 +00:00
scorm MDL-23204 convert text to html in scorm intro 2010-07-16 09:31:23 +00:00
survey MDL-23204 convert text to html in survey intro 2010-07-16 09:32:21 +00:00
url MDL-23234 finally standardised use of settings.php across all plugins - the only partial exceptions now are report and local plugins 2010-07-13 13:56:55 +00:00
wiki Adding the global variable 2010-07-15 11:05:51 +00:00
workshop MDL-23234 finally standardised use of settings.php across all plugins - the only partial exceptions now are report and local plugins 2010-07-13 13:56:55 +00:00
index.html
README.txt Fixed location of icon.gif 2010-03-24 10:56:22 +00:00
upgrade.txt MDL-23234 finally standardised use of settings.php across all plugins - the only partial exceptions now are report and local plugins 2010-07-13 13:56:55 +00: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