moodle/mod
2004-04-30 01:54:56 +00:00
..
assignment Put a submit button at the top too. 2004-04-26 13:39:39 +00:00
attendance Updating version numbers of all Modules to make things a bit clearer 2004-02-01 04:42:39 +00:00
chat FIx to help PostgreSQL .... fix from Bruno Vernier Bug 1270 2004-04-26 02:54:55 +00:00
choice Avoid some division by 9 warnings when showing anonymously 2004-03-14 01:22:28 +00:00
dialogue Fix one SQL... 2004-04-05 22:49:23 +00:00
exercise Fixed Bug #1083. 2004-03-12 15:31:04 +00:00
forum Some fixes to ensure students can't post to hidden forums 2004-04-30 01:54:56 +00:00
glossary Now encoding some fields to be non-ASCII aware. Thanks to Petr Skoda. 2004-04-24 00:48:57 +00:00
journal New function journal_count_entries() and more accurate counting of 2004-03-13 16:15:02 +00:00
label Much requested: Uploaded resources are now shown using the relevant icon. 2004-04-26 15:31:22 +00:00
lesson Correcting field name usemaxgrade in update files. 2004-04-02 16:16:21 +00:00
quiz Support for events. 2004-04-28 02:56:40 +00:00
resource WEBLINKs and WEBPAGEs can have icons too 2004-04-26 15:44:25 +00:00
survey Clean filenames to prevent possible problems with IE 2004-04-17 03:27:27 +00:00
workshop New functions by Jenny Watt, to make workshops show up on Recent Activity 2004-04-24 12:47:52 +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