moodle/mod
2011-01-10 17:31:40 +08:00
..
assignment MDL-25619 portfolio: exported HTML output can not be cleaned 2010-12-08 23:20:04 +00:00
chat MDL-21250 capital letters removal 2010-11-29 16:03:59 +00:00
choice MDL-21250 capital letters removal 2010-11-29 16:03:59 +00:00
data Merge branch 'MDL-25761_data_portfolio' of git://github.com/mudrd8mz/moodle 2010-12-27 12:29:15 +01:00
feedback message MDL-24860 fixed messaging code in mod_lesson and marked spots that are directly sending email 2010-12-22 12:05:49 +08:00
folder MDL-22135 - logs restore, course and activities + cleanup 2010-11-11 19:46:04 +00:00
forum Merge branch 'MDL-24860_messaging_providers' of git://github.com/andyjdavis/moodle 2010-12-27 13:39:20 +01:00
glossary MDL-25178 glossary - add completionentries rule 2010-12-20 20:02:04 +01:00
imscp MDL-21250 capital letters removal 2010-12-02 16:18:41 +00:00
label MDL-22135 - logs restore, course and activities + cleanup 2010-11-11 19:46:04 +00:00
lesson Merge branch 'MDL-24860_messaging_providers' of git://github.com/andyjdavis/moodle 2010-12-27 13:39:20 +01:00
page MDL-25335 prevent errors when invalid format specified in resource text page 2010-11-20 02:51:26 +00:00
quiz blocklib MDL-25654 fix API inconsistency be renaming add_pretend_block to add_fake_block. 2010-12-20 18:22:37 +01:00
resource MDL-21250 capital letters removal 2010-12-02 16:48:22 +00:00
scorm MDL-21250 capital letters removal 2010-12-02 18:22:19 +00:00
survey MDL-21250 capital letters removal 2010-12-02 18:22:19 +00:00
url MDL-25336 fixed & in mod/url and fixed incomplete click url when embedding 2010-11-20 03:17:19 +00:00
wiki mod-wiki MDL-25793 Bumped version number and adjusted version number in new upgrade code. 2011-01-10 17:31:40 +08:00
workshop MDL-25524 workshop: fixed random allocator removing current allocations 2010-12-07 11:39:50 +00:00
index.html
README.txt Fixed location of icon.gif 2010-03-24 10:56:22 +00:00
upgrade.txt fixed typo 2010-09-05 21:05:20 +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

  pix/icon.gif: a 16x16 icon for the module

  db/install.xml: 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