moodle/mod
2011-02-08 10:21:55 +01:00
..
assignment MDL-25708 recordsets - assignment and data modules 2011-01-25 19:59:00 +01:00
chat MDL-26238 remove deprecated second parameter from groups_get_group() calls 2011-02-06 18:15:36 +01:00
choice MDL-21250 capital letters removal 2010-11-29 16:03:59 +00:00
data Merge branch 'MDL-24870_rss_error' of git://github.com/andyjdavis/moodle 2011-02-08 10:21:55 +01:00
feedback MDL-17357 Removed duplicate string definitions 2011-02-07 15:08:07 +01:00
folder MDL-25708 recordsets - folder module 2011-01-25 19:59:00 +01:00
forum Merge branch 'MDL-24870_rss_error' of git://github.com/andyjdavis/moodle 2011-02-08 10:21:55 +01:00
glossary Merge branch 'MDL-24870_rss_error' of git://github.com/andyjdavis/moodle 2011-02-08 10:21:55 +01:00
imscp MDL-25708 recordsets - imscp and lesson modules 2011-01-25 19:59:01 +01:00
label lib MDL-25981 Improved modinfo 2011-01-26 10:29:16 +00:00
lesson Merge branch 'MDL-25874' of git://git.luns.net.uk/moodle 2011-02-07 14:01:00 +08:00
page MDL-25708 recordsets - page and quiz modules 2011-01-25 19:59:01 +01:00
quiz MDL-26242 quiz reports. No students in course => get_in_or_equal doesn't like empty arrays error 2011-02-02 16:40:14 +00:00
resource MDL-17357 Removed duplicate string definitions 2011-02-07 15:08:07 +01:00
scorm MDL-26201 fix Lang - Thanks Petr 2011-02-02 09:23:24 +01:00
survey MDL-25708 recordsets - survey module 2011-01-25 19:59:02 +01:00
url MDL-25708 recordsets - url module 2011-01-22 12:54:40 +01:00
wiki MDL-17357 Removed duplicate string definitions 2011-02-07 15:08:07 +01:00
workshop Merge branch 'MDL-26267' of git://github.com/samhemelryk/moodle 2011-02-07 23:07:16 +01: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