moodle/mod
2012-03-15 10:09:27 -07:00
..
assignment Merge branch 'MDL-31808-master-1' of git://git.luns.net.uk/moodle 2012-03-13 14:10:00 +13:00
chat MDL-31985 remove text sizes from all install.xml files 2012-03-11 15:55:37 +01:00
choice Merge branch 'master_MDL-31942' of git://github.com/danmarsden/moodle 2012-03-13 15:51:53 +08:00
data Merge branch 'w11_MDL-31985_m23_lobsizes' of git://github.com/skodak/moodle 2012-03-13 00:15:59 +01:00
feedback MDL-31985 remove text sizes from all install.xml files 2012-03-11 15:55:37 +01:00
folder MDL-31985 remove text sizes from all install.xml files 2012-03-11 15:55:37 +01:00
forum Merge branch 'w11_MDL-31985_m23_lobsizes' of git://github.com/skodak/moodle 2012-03-13 00:15:59 +01:00
glossary MDL-31985 remove text sizes from all install.xml files 2012-03-11 15:55:37 +01:00
imscp MDL-31985 remove text sizes from all install.xml files 2012-03-11 15:55:37 +01:00
label MDL-31985 remove text sizes from all install.xml files 2012-03-11 15:55:37 +01:00
lesson Merge branch 'MDL-30867' of git://github.com/rwijaya/moodle 2012-03-13 11:26:42 +08:00
lti Merge branch 'w11_MDL-31985_m23_lobsizes' of git://github.com/skodak/moodle 2012-03-13 00:15:59 +01:00
page MDL-31985 remove text sizes from all install.xml files 2012-03-11 15:55:37 +01:00
quiz MDL-11047 quiz: enable sequential navigation 2012-03-15 10:09:27 -07:00
resource MDL-31985 remove text sizes from all install.xml files 2012-03-11 15:55:37 +01:00
scorm MDL-29745 Fixed white space 2012-03-13 16:36:37 +13:00
survey MDL-31985 remove text sizes from all install.xml files 2012-03-11 15:55:37 +01:00
url MDL-31985 remove text sizes from all install.xml files 2012-03-11 15:55:37 +01:00
wiki Merge branch 'w11_MDL-31985_m23_lobsizes' of git://github.com/skodak/moodle 2012-03-13 00:15:59 +01:00
workshop MDL-31985 remove text sizes from all install.xml files 2012-03-11 15:55:37 +01:00
index.html
README.txt Fixed location of icon.gif 2010-03-24 10:56:22 +00:00
upgrade.txt MDL-29897 Update upgrade.txt files 2011-11-03 08:11:55 +01: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