moodle/mod
2005-05-16 21:04:15 +00:00
..
assignment Shane and I fixed a few things: 2005-04-27 09:37:52 +00:00
attendance Rationalised get_user_info_from_db() and sundry other small bits into 2005-04-17 12:08:46 +00:00
chat Simply usertimezone(), baby! ;-) 2005-04-27 03:44:52 +00:00
choice Prettied up choice with some styles (could use work) 2005-05-05 18:34:20 +00:00
dialogue Standardise the intro box using an ID 2005-03-13 16:17:55 +00:00
exercise Replacing some HTTP_POST_VARS uses because it doesn't work always! 2005-04-02 17:45:29 +00:00
forum JUst realigned code while debugging 2005-05-14 03:59:11 +00:00
glossary When we are printing a definition, avoiding concepts and 2005-04-27 16:04:52 +00:00
hotpot Updated version number to 2.0.8 2005-05-16 08:59:40 +00:00
journal This clean_text() shouldn't be here. Primary I changed it 2005-04-29 10:35:16 +00:00
label Now label->name is working with filterall. 2005-04-06 15:20:33 +00:00
lesson FIXED: loss content on editing a page 2005-05-09 02:29:35 +00:00
quiz removed unused language strings 2005-05-16 21:04:15 +00:00
resource Now resource autolinking filter is optimised too, so all the autolinking 2005-05-06 18:15:21 +00:00
scorm Fixed a SQL injection from $scoid 2005-05-16 15:05:53 +00:00
survey fixed typo 2005-04-16 14:13:17 +00:00
wiki New lightspeed wiki filter (using the static and nothingtodo technologies now) 2005-05-06 17:57:08 +00:00
workshop Fixed a notice 2005-05-03 08:16:12 +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