moodle/mod
2005-12-16 07:19:59 +00:00
..
assignment fix for bug 4067 2005-11-25 08:41:16 +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
data mod/data: tidyup of Postgres schema -- thanks to Nigel McNie 2005-12-12 03:32:55 +00:00
exercise Replaced optional_var with optional_param 2005-12-07 03:30:59 +00:00
forum Fixed missing closing parentheses in forum_search_posts() for embargoed announcements 2005-12-11 20:19:35 +00:00
glossary Replaced optional_var with optional_param 2005-12-07 06:21:58 +00:00
hotpot JMatch: allow extra, unused RHS items 2005-11-25 23:01:15 +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
lams Correcting corrupted line endings 2005-11-19 11:08:51 +00:00
lesson XHTML fix 2005-11-23 22:31:52 +00:00
quiz Replaced optional_var with optional_param 2005-12-07 06:21:58 +00:00
resource Some strings are now properly displayed. End of work in IMS for now. 2005-12-06 10:41:24 +00:00
scorm mod/scorm: fixed syntax errors (switch to an editor that balances brackets, mate ;-) -- credits to Nigel McNie 2005-12-12 03:26:54 +00:00
survey Log actions must be strored to DB without & 2005-11-23 09:46:25 +00:00
wiki merged, fixed a bug that student can't remove wiki pages in group mode 2005-12-16 07:19:59 +00:00
workshop Log actions must be strored to DB without & 2005-11-23 09:46:25 +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