moodle/mod
2007-01-02 04:37:45 +00:00
..
assignment fixing all the form names as per new class naming convention (PHP class names are also used for html id for styling) 2006-12-28 15:43:47 +00:00
chat MDL-8028 Add separate addslashes_js function for javascript quoting 2007-01-01 13:26:20 +00:00
choice better code formatting 2006-12-28 16:44:47 +00:00
data fixing all the form names as per new class naming convention (PHP class names are also used for html id for styling) 2006-12-28 15:43:47 +00:00
exercise changes to how we generate the id attribute of forms and the naming convention of forms 2006-12-28 09:32:45 +00:00
forum XHTML fixes for MDL-7861. 2007-01-02 01:25:40 +00:00
glossary MDL-8015 improved file uploading 2006-12-28 21:21:44 +00:00
hotpot Added CDATA to Javascript 2006-12-22 04:52:13 +00:00
journal changes to how we generate the id attribute of forms and the naming convention of forms 2006-12-28 09:32:45 +00:00
label changes to how we generate the id attribute of forms and the naming convention of forms 2006-12-28 09:32:45 +00:00
lams fixed obsoleted use of course->category to find site course - now used SITEID instead MDL-1899 2006-11-12 08:55:13 +00:00
lesson modified some strings to add more meaning to buttons and links 2006-12-30 17:29:44 +00:00
quiz MDL-8028 Add separate addslashes_js function for javascript quoting 2007-01-01 13:26:20 +00:00
resource MDL-8021 resource "Link to a file or web site", when created, doesn't open in a new window - fixed recourse typo 2006-12-29 20:16:50 +00:00
scorm Fixed a problem with double indexed elements in the GetValue method 2006-12-19 08:55:25 +00:00
survey fixing all the form names as per new class naming convention (PHP class names are also used for html id for styling) 2006-12-28 15:43:47 +00:00
wiki MDL-7861, fixng broken xhtml 2006-12-21 06:01:35 +00:00
workshop MDL-7861, fixing missing tag 2007-01-02 04:37:45 +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