moodle/mod
2009-01-12 02:27:53 +00:00
..
assignment MDL-17774 refactored USER switching in cron scripts - now standardised in cron_setup_user() 2009-01-03 13:16:59 +00:00
chat accesslib: MDL-17626 delete the context whenever a block is deleted. This includes a new helper function blocks_delete_all_on_page. 2009-01-09 06:16:36 +00:00
choice fixed regression caused by patch for MDL-15105 2009-01-12 02:27:53 +00:00
data MDL-16483 - stopped using MoodleUnitTestCase in tests where $DB not needed 2009-01-10 13:23:37 +00:00
feedback MDL-16613 sesskey cleanup 2009-01-02 10:51:26 +00:00
forum MDL-16483 - stopped using MoodleUnitTestCase in tests where $DB not needed 2009-01-10 13:23:37 +00:00
glossary MDL-17758 fixed hardcoded /admin/ links 2009-01-01 14:25:29 +00:00
hotpot MDL-17457 moved a lot of code into lib/db/install.php + other refactoring and cleanup 2009-01-11 09:41:48 +00:00
label MDL-16676 All references to the text.html and emoticons.html files need to be updated to point to text2.html and emoticons2.html 2008-09-25 10:04:01 +00:00
lesson accesslib: MDL-17626 delete the context whenever a block is deleted. This includes a new helper function blocks_delete_all_on_page. 2009-01-09 06:16:36 +00:00
quiz MDL-16483 - renamed MoodleUnitTestCase to FakeDBUnitTestCase; MDL-17841 removed bogus remove lib/simpletest/slowcodetest.php 2009-01-10 13:47:26 +00:00
resource MDL-17617 removed some uses of snoopy library 2009-01-08 15:01:19 +00:00
scorm MDL-17821 - fix incorrect data validation regexs for 2004. thanks Peter Chamberlin. 2009-01-09 00:56:32 +00:00
survey cleanup: MDL-17083 Remove the old teacher, teachers, student and students columns from the course table. 2008-11-13 08:40:57 +00:00
wiki "MDL-17570,clean align property, merged from 1.9" 2008-12-10 07:24:11 +00:00
index.html To stop people browsing modules 2005-01-23 04:15:13 +00:00
README.txt MDL-14679 fixed references to mod.html 2008-06-01 19:09:13 +00:00

ACTIVITY MODULES
----------------

These are main modules in Moodle, allowing various activities.


Each of these modules contains a number of expected components:

  mod_form.php: 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