moodle/mod
2010-08-02 00:39:35 +00:00
..
assignment assignment MDL-22609 reverting to userid as print_user_files is updated to lookup the submission. 2010-07-30 02:39:38 +00:00
chat MDL-23479 backup - chat revised & old code deleted (but restore logs) 2010-07-30 23:14:08 +00:00
choice MDL-23479 backup - choice revised & old code deleted (but restore logs) 2010-07-30 19:39:50 +00:00
data data MDL-23488 made the database activity not available messages less scary 2010-07-30 07:51:51 +00:00
feedback MDL-23479 feedback restore code - correct time shifting 2010-08-02 00:33:51 +00:00
folder MDL-23479 folder restore code - correct time shifting 2010-08-02 00:34:47 +00:00
forum MDL-23592 adding ugly hack that copies data from intro to first post in single "simple" forum type 2010-08-01 09:42:55 +00:00
glossary MDL-23479 backup - glossary restore & old code deleted (but restore logs) 2010-07-31 22:33:41 +00:00
imscp MDL-21249 improved php docs and adding copyright blocks in mod/imscp 2010-07-25 11:16:08 +00:00
label MDL-23479 backup - oops! deleted too much in my prev commit. Decode contents are back 2010-07-30 23:27:16 +00:00
lesson MDL-23479 lesson restore code - correct time shifting 2010-08-02 00:38:07 +00:00
page MDL-23479 backup - minor fixes to page & url 2010-07-31 22:28:21 +00:00
quiz NOBUG more consistent use of URLs for the quiz reports. 2010-07-28 15:08:34 +00:00
resource MDL-23479 Resource Restore code 2010-07-28 01:51:57 +00:00
scorm MDL-23479 scorm restore code - correct time shifting 2010-08-02 00:39:35 +00:00
survey NOMDL survey - fix crazy query cross-joining like hell 2010-07-28 16:02:22 +00:00
url MDL-23479 backup - minor fixes to page & url 2010-07-31 22:28:21 +00:00
wiki MDL-23479 wiki restore code - correct encoding and time shifting 2010-08-02 00:29:33 +00:00
workshop MDL-19211 workshop uses editors_get_preferred_format() instead of hard coded default formats 2010-07-27 22:30:34 +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