moodle/mod
2005-07-08 06:56:49 +00:00
..
assignment added word count display; merged from MOODLE_15_STABLE 2005-07-06 14:04:44 +00:00
chat Merging from STABLE: 2005-07-08 03:51:38 +00:00
choice Improved automatic relinking in backup and restore. Credits go to skodak. 2005-07-04 18:56:03 +00:00
dialogue Tabs are out 2005-05-16 22:22:31 +00:00
exercise Tabs are out 2005-05-16 22:22:31 +00:00
forum Improved automatic relinking in backup and restore. Credits go to skodak. 2005-07-04 18:56:03 +00:00
glossary Improved automatic relinking in backup and restore. Credits go to skodak. 2005-07-04 18:56:03 +00:00
hotpot merged from MOODLE_15_STABLE 2005-07-04 07:20:53 +00:00
journal Very quick fix to remove notices (but loses some colors) 2005-05-17 19:55:37 +00:00
label Improved automatic relinking in backup and restore. Credits go to skodak. 2005-07-04 18:56:03 +00:00
lesson Improved automatic relinking in backup and restore. Credits go to skodak. 2005-07-04 18:56:03 +00:00
quiz fixed typo, see bug 3687 2005-07-08 00:21:02 +00:00
resource Improved automatic relinking in backup and restore. Credits go to skodak. 2005-07-04 18:56:03 +00:00
scorm changed all the POST with option/required_param functions 2005-07-08 06:56:49 +00:00
survey changed deprecated _variable() type functions to _param() type functions. 2005-07-05 11:02:46 +00:00
wiki fixed comments - SC #61; merged from MOODLE_15_STABLE 2005-07-05 08:29:07 +00:00
workshop _variable() functions, _GET, _POST etc. changed to appropriate _param() 2005-07-06 15:31:07 +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