moodle/mod
iarenaza 0baafc173a Fix MDL-11632: Multiple files with emtpy lines outside PHP open/close tags
There are multiple issues with Moodle files containing empty or blank lines
(lines consisting of white spaces or tabs only) and/or white space before or
after the PHP open and close tags, notably with config.php and theme files.
2007-10-09 21:43:28 +00:00
..
assignment Not a pretty fix but it gets the preferences out of the way where users won't keep hitting the wrong submit 2007-09-26 11:42:36 +00:00
chat MDL-11674 fixed mysql incompatible SQL in chat cron 2007-10-09 16:46:04 +00:00
choice Fix MDL-11632: Multiple files with emtpy lines outside PHP open/close tags 2007-10-09 21:43:28 +00:00
data Second pass. Modules. Some more default comments are out. MDL-11385 2007-09-24 22:17:05 +00:00
exercise Fix MDL-11632: Multiple files with emtpy lines outside PHP open/close tags 2007-10-09 21:43:28 +00:00
forum fixed undefined $modcontext 2007-10-09 13:10:55 +00:00
glossary Fix MDL-11632: Multiple files with emtpy lines outside PHP open/close tags 2007-10-09 21:43:28 +00:00
hotpot added escaping of quotes in TimesUp message, so that apostrophes do not cause Javascript errors 2007-10-08 06:45:27 +00:00
journal Fix MDL-11632: Multiple files with emtpy lines outside PHP open/close tags 2007-10-09 21:43:28 +00:00
label Fix MDL-11632: Multiple files with emtpy lines outside PHP open/close tags 2007-10-09 21:43:28 +00:00
lams Second pass. Modules. Some more default comments are out. MDL-11385 2007-09-24 22:17:05 +00:00
lesson Fix MDL-11632: Multiple files with emtpy lines outside PHP open/close tags 2007-10-09 21:43:28 +00:00
quiz MDL-9076 - Move the 'Add 3 more overall feedbacks' button inside that group of elements on the quiz settings form. 2007-10-09 15:44:06 +00:00
resource Fix MDL-11632: Multiple files with emtpy lines outside PHP open/close tags 2007-10-09 21:43:28 +00:00
scorm Fix MDL-11632: Multiple files with emtpy lines outside PHP open/close tags 2007-10-09 21:43:28 +00:00
survey Fix MDL-11632: Multiple files with emtpy lines outside PHP open/close tags 2007-10-09 21:43:28 +00:00
wiki MDL-11472 fixed harcoded mdl_ prefix in sql queries 2007-09-27 08:41:19 +00:00
workshop Fix MDL-11632: Multiple files with emtpy lines outside PHP open/close tags 2007-10-09 21:43:28 +00:00
index.html To stop people browsing modules 2005-01-23 04:15:13 +00:00
README.txt Removing the newmodule template from this directory and putting it 2004-02-12 06:41:17 +00:00

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