moodle/mod
2005-08-11 06:42:27 +00:00
..
assignment Merged fixes from STABLE for submodules 2005-07-15 17:32:36 +00:00
chat Now chat-talk log actions are restored properly. 2005-08-03 18:28:56 +00:00
choice require_variable() changed to required_param(). 2005-08-09 12:07:09 +00:00
exercise Tabs are out 2005-05-16 22:22:31 +00:00
forum Now forum-start tracking, 2005-08-03 19:50:49 +00:00
glossary removed file pop-ups 2; merged from MOODLE_15_STABLE 2005-07-12 18:53:14 +00:00
hotpot merged from MOODLE_15_STABLE 2005-07-04 07:20:53 +00:00
journal No journal on new installs, merged from stable 2005-07-12 07:11:33 +00:00
label Merged SC139 from stable 2005-07-12 08:00:51 +00:00
lesson Fixed a path problem that occurs while unzipping 2005-07-22 21:09:37 +00:00
quiz Merged from MOODLE_15_STABLE: Changing the js timer in quiz to call the form by name rather than index. People who have forms in the headers (ie logout buttons) run into problems otherwise 2005-08-11 03:38:31 +00:00
resource Modified Files: 2005-07-29 08:08:42 +00:00
scorm Removed db store of element session_time, not required from ADL 2005-08-11 06:42:27 +00:00
survey Merged SC139 from stable 2005-07-12 08:00:51 +00:00
wiki Added the $Id$ tag 2005-07-24 10:29:23 +00:00
workshop Merged SC139 from stable 2005-07-12 08:00:51 +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