moodle/mod
mark-nielsen caca24d5d3 Minor updates:
comments no longer print inside the question (only in the textfield)
  fixed problem with quotes by adding addslashes
2006-04-08 21:46:59 +00:00
..
assignment Removed some unnecessary code 2006-04-05 18:52:37 +00:00
chat Typo. 2006-03-28 23:31:12 +00:00
choice couple of bugs when no data returned. 2006-04-06 20:42:35 +00:00
data Fix for bug 5132, search now no longer prevents display of 2006-04-08 16:33:16 +00:00
exercise Merging fixes from stable 2006-04-05 03:19:36 +00:00
forum Merged fixes for forum_user_can_view_post from stable 2006-04-07 14:54:52 +00:00
glossary Typo. 2006-03-28 23:31:12 +00:00
hotpot define PARAM_SAFEDIR (constant) and clean_param (function) if required for compatibility with Moodle 1.3 or earlier 2006-04-05 01:28:12 +00:00
journal Fixed call to required_param() 2006-04-05 07:46:52 +00:00
label FIxed blank trailing lines (bug 5095) 2006-04-05 06:14:28 +00:00
lams Fixed call to required_param() 2006-04-05 07:46:52 +00:00
lesson corrected font-style: none to normal 2006-04-08 15:53:28 +00:00
quiz Minor updates: 2006-04-08 21:46:59 +00:00
resource Typo. 2006-03-28 23:31:12 +00:00
scorm Fixed two problems in AICC import 2006-03-30 06:19:52 +00:00
survey FIxed blank trailing lines (bug 5095) 2006-04-05 06:14:28 +00:00
wiki Fixed call to required_param() 2006-04-05 07:46:52 +00:00
workshop FIxed blank trailing lines (bug 5095) 2006-04-05 06:14: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