moodle/mod
martinlanghoff 0ff463ae95 assignment: count_user_files() no longer creates extraneous dirs (bug#4658)
Applied the fix by Samuli.Karevaara, from the bug report - the directory is checked for existence beforehand.
Previously it was created if it didn't exist, then the files within it were counted.


Author: Luke Hudson <luke@catalyst.net.nz>
2006-07-31 04:56:58 +00:00
..
assignment assignment: count_user_files() no longer creates extraneous dirs (bug#4658) 2006-07-31 04:56:58 +00:00
chat Bug #6176 - locale setting on config variables page not functioning correctly; merged from MOODLE_16_STABLE 2006-07-30 10:39:21 +00:00
choice Fix for Bug 6119 - gives error when choice full, and user submits a choice they have already selected 2006-07-23 22:14:31 +00:00
data Bug #6099 - Restore alternatively failing on data module - fixed status codes of module restore process; merged from MOODLE_16_STABLE 2006-07-13 15:38:03 +00:00
exercise fixed bug #5572 missing PARAM_CLEAN; merged from MOODLE_16_MOODLE 2006-05-22 06:00:51 +00:00
forum forum: notification of a moved dicussion (bug#4874) 2006-07-31 04:54:44 +00:00
glossary Bug #6170 - Glossary bug: it displays nothing when autolinking to non-ascii text and other minor cleanup; merged from MOODLE_16_STABLE 2006-07-30 22:22:22 +00:00
hotpot Bug #6136 - Hard coded admin paths; merged from MOODLE_16_STABLE 2006-07-19 08:13:25 +00:00
journal bug fix for 5303. hope i didn't break anything >_< 2006-04-28 03:18:56 +00:00
label Fixed log_display inserts. 2006-04-24 08:28:21 +00:00
lams add learner link when user is a teacher 2006-06-05 10:01:42 +00:00
lesson Bug #5988 - Branch Tables in 1.6+ (Lesson Module); merged from MOODLE_16_STABLE 2006-07-10 22:39:58 +00:00
quiz Bug #6157 - lang strings using concatenation, not $a. Merged from MOODLE_16_STABLE. 2006-07-24 14:40:48 +00:00
resource Bug #5996 - block+resource=problem; merged from MOODLE_16_STABLE 2006-07-03 06:26:38 +00:00
scorm Fixes for Bug 5749 and Bug 5750 2006-07-23 23:48:09 +00:00
survey bug fix for 5303. hope i didn't break anything >_< 2006-04-28 03:18:56 +00:00
wiki wiki: Added a link to force reloading of the page (WR#515) 2006-07-31 04:56:12 +00:00
workshop Bug #5684 - frameset page in UTF8 doesn't appear on IE; merged from MOODLE_16_STABLE 2006-06-01 14:50:41 +00:00
index.html To stop people browsing modules 2005-01-23 04:15:13 +00:00
README.txt

ACTIVITY MODULES
----------------

These are main modules in Moodle, allowing various activities.


Each of these modules contains a number of expected components:

  mod.html: a form to setup/update a module instance

  version.php: defines some meta-info and provides upgrading code

  icon.gif: a 16x16 icon for the module

  db/mysql.sql: 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