moodle/mod
2005-05-07 13:30:35 +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 10 per page by default 2005-05-06 12:50:49 +00:00
glossary When we are printing a definition, avoiding concepts and 2005-04-27 16:04:52 +00:00
hotpot two changes to "hotpot_db_update_field_type" to correct bugs when updating PostgreSQL database 2005-05-04 11:19:45 +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 highscores will not display with practice lesson on because no grade records are entered. Also, on teacher view, when the question content is printed it uses FORMAT_HTML now 2005-05-06 23:57:20 +00:00
quiz Some work on the penalty mechanism. Took out the multiplicative scheme because it is just too difficult to understand. Made all question types print grading details when quiz is in adaptive mode. Made improvements to the presentation of the grading details. Enabled the penalty mechanism in a few more (on my way towards doing it for all). 2005-05-07 13:30:35 +00:00
resource Now resource autolinking filter is optimised too, so all the autolinking 2005-05-06 18:15:21 +00:00
scorm Please don't put 1 into the where part of get_records_select, it causes postgres-invalid sql 2005-05-07 02:36:45 +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