moodle/mod
2005-11-02 04:00:46 +00:00
..
assignment Print standard course module settings 2005-11-02 04:00:46 +00:00
chat A slight improvement for my last edit, which could trigger a small bug. 2005-10-25 01:55:21 +00:00
choice Removed check for student/teacher on submit and replaced with check for (not) 2005-09-20 09:22:06 +00:00
exercise Initial checkin of stats (from processing the log table). 2005-09-01 04:14:31 +00:00
forum subscribing always requires the user to be logged in, even for forums on the home page. 2005-10-31 14:21:29 +00:00
glossary fixed cleaning before editing SC#163; merged from MOODLE_15_STABLE 2005-10-29 21:40:41 +00:00
hotpot Fixing a typo ("=" to "=>") which killed my Moodle after grabbing the latest CVS. 2005-10-31 01:58:42 +00:00
journal Initial checkin of stats (from processing the log table). 2005-09-01 04:14:31 +00:00
label Fixing misprint leading to fatal error 2005-10-17 07:59:47 +00:00
lesson NEW FEATURE: Media file now works with web pages and with text and html files. Also, the pop-up 2005-10-28 22:45:47 +00:00
quiz Merged changes from STABLE. 2005-11-01 03:29:58 +00:00
resource Solve copy/paste bug. Now items are properly checked. 2005-10-13 22:02:44 +00:00
scorm Updated css for playscorm.php 2005-10-14 07:02:51 +00:00
survey fixed script parameters + some warnings SC#150; merged from MOODLE_15_STABLE 2005-10-29 16:45:58 +00:00
wiki Changed one call to gethostbyaddr() to use numeric 2005-11-01 17:47:20 +00:00
workshop Many links to assess.php were missing $cm->id 2005-10-21 07:11:04 +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