moodle/mod
2010-07-31 22:28:21 +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 2010-07-28 09:57:04 +00:00
folder MDL-23479 folder Restore code 2010-07-28 08:31:35 +00:00
forum MDL-23479 backup - delete not needed mapping. apply_activity_instance() does it 2010-07-31 22:25:41 +00:00
glossary MDL-22001 filter_text() and filter_string() now use context parameter instead of courseid, PAGE->context is used only as a fallback; moved comment stuff away from format_text() because it does not belong there; filterlib is not using courseid except for legacy filters; fixed coding style in filters;Êimproved php docs; fixed upgrade of filters (should be in plugins, not core) 2010-07-30 20:51:01 +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 backup - force order of pages to use prevpageid so that restore is able to see pages in the right order. 2010-07-29 05:02:51 +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 - fix bug with mapping MDL-23570 2010-07-29 02:23:06 +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-23130] 2010-07-30 12:10:18 +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