moodle/mod
gustav_delius 1da1f5a890 It is now possible to have also questions in all subcategories listed on edit.php. Because there can be a large number of questions the list of questions is now paged.
The random questions have another option specifying whether they can choose their questions also from subcategories or not. This option is stored in the unused questiontext field.
2005-01-05 17:27:23 +00:00
..
assignment Email alerts to teachers 2005-01-05 17:13:44 +00:00
attendance Replaced prefix_ with CFG->prefix for DROP of indexes before creation because of being inside execute_sql rather than modify_database - attendance module 2004-11-18 02:35:42 +00:00
chat Fix for bug 2285: chatd shows all chat users as present in every chatroom 2004-12-15 07:08:31 +00:00
choice Replaced prefix_ with CFG->prefix for DROP of indexes before creation because of being inside execute_sql rather than modify_database - choice module 2004-11-18 02:39:16 +00:00
dialogue Merged from MOODLE_14_STABLE: Fixed bug in dialogue where plain text email notification had no break between the url and the ---- that was causing GET requests like mod/dialogue/view.php?id=foo--------- and subsequent invalid sql 2004-11-24 23:51:04 +00:00
exercise Replaced prefix_ with CFG->prefix for DROP of indexes before creation because of being inside execute_sql rather than modify_database - exercise module 2004-11-18 02:42:33 +00:00
forum Merged fix from stable for wrong function 2004-12-14 11:08:04 +00:00
glossary fixing a couple of instances of hardcoded /admin/ 2004-12-31 16:12:58 +00:00
journal Merged from MOODLE_14_STABLE: Indexes for journal and version bump (honoring partial freeze) 2004-11-19 02:02:38 +00:00
label Merged from MOODLE_14_STABLE: Indexes for label and version bump (honoring partial freeze) 2004-11-19 03:05:38 +00:00
lesson fix class stats for essay questions 2004-12-06 20:33:44 +00:00
quiz It is now possible to have also questions in all subcategories listed on edit.php. Because there can be a large number of questions the list of questions is now paged. 2005-01-05 17:27:23 +00:00
resource fix merged from stable 2004-12-15 13:13:18 +00:00
scorm Just activating validation in Head to be able to test it. 2004-12-17 17:24:13 +00:00
survey Changes for XHTML and accessibility compatibility 2004-11-26 07:07:06 +00:00
wiki merged from MOODLE_14_STABLE; updated zipping code - see bug #2228 2004-12-15 21:59:30 +00:00
workshop Fixed some warnings for foreach() on empty array, when upgrading a site 2004-12-13 18:32:20 +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