moodle/mod
2007-05-03 10:38:35 +00:00
..
assignment MDL-9474: Updated build_navigation() to use global $COURSE 2007-04-23 21:11:10 +00:00
chat MDL-9474: Updated build_navigation() to use global $COURSE 2007-04-23 21:11:10 +00:00
choice MDL-8394 Allow students to remove their choice when they are allowed to update their choice. 2007-05-03 00:04:53 +00:00
data Merged from MOODLE_18_STABLE: MDL-9585 - mod/data: moved functions and classes out of preset.php into lib.php 2007-04-26 22:04:43 +00:00
exercise MDL-9474: Updated build_navigation() to use global $COURSE 2007-04-23 21:11:10 +00:00
forum MDL-9474: Updated build_navigation() to use global $COURSE 2007-04-23 21:11:10 +00:00
glossary MDL-9474: Updated build_navigation() to use global $COURSE 2007-04-23 21:11:10 +00:00
hotpot set default body font-size to "small" 2007-05-03 01:02:06 +00:00
journal MDL-9474: Updated build_navigation() to use global $COURSE 2007-04-23 21:11:10 +00:00
label Updated versions and requires (primarily because of formslib dependencies) 2007-02-02 13:02:24 +00:00
lams Fixed many xhtml errors 2007-04-20 07:54:42 +00:00
lesson MDL-9474: Updated build_navigation() to use global $COURSE 2007-04-23 21:11:10 +00:00
quiz removed use of session for reordertool and show page breaks. Reordertool and show page breaks params are now passed from page request to page request only for page requests for quiz/edit.php 2007-05-03 10:38:35 +00:00
resource MDL-9485 resource summary now optional again; merged from MOODLE_18_STABLE 2007-04-24 21:11:39 +00:00
scorm Fix all the PHP syntax errors in this code. I can't think of any valid reason for checking code with that many syntax errors into CVS, especially when there are plenty of editors out there that check the syntax for you and highlight the errors. Also, can I point out that Moodle coding guidelines require spaces for indents, not tabs. (http://docs.moodle.org/en/Development:Coding) 2007-05-01 07:03:52 +00:00
survey MDL-9474: Updated build_navigation() to use global $COURSE 2007-04-23 21:11:10 +00:00
wiki MDL-9474: Updated build_navigation() to use global $COURSE 2007-04-23 21:11:10 +00:00
workshop MDL-9474: Updated build_navigation() to use global $COURSE 2007-04-23 21:11:10 +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