moodle/mod
2013-01-10 11:13:13 +01:00
..
assign MDL-36904 mod_assign: Fixed whitespace issue 2013-01-09 12:33:29 +13:00
assignment Merge branch 'MDL-30700-master' of git://github.com/damyon/moodle 2012-12-11 19:56:31 +01:00
book MDL-37032 upgrade: define all the 2.4.0 points 2012-12-11 13:11:11 +01:00
chat MDL-37032 upgrade: define all the 2.4.0 points 2012-12-11 13:11:11 +01:00
choice MDL-37171 fix multiple spreadsheet related PHP4isms 2012-12-15 12:36:40 +01:00
data MDL-7660 - mod_data: Changed the filepicker to filemanager for field elements. 2013-01-04 12:17:47 +08:00
feedback Merge branch 'MDL-36357' of git://github.com/danpoltawski/moodle 2013-01-09 09:34:22 +13:00
folder MDL-37032 upgrade: define all the 2.4.0 points 2012-12-11 13:11:11 +01:00
forum Merge branch 'MDL-36741_master' of git://github.com/markn86/moodle 2013-01-10 11:13:13 +01:00
glossary MDL-37032 upgrade: define all the 2.4.0 points 2012-12-11 13:11:11 +01:00
imscp MDL-37032 upgrade: define all the 2.4.0 points 2012-12-11 13:11:11 +01:00
label MDL-37032 upgrade: define all the 2.4.0 points 2012-12-11 13:11:11 +01:00
lesson Merge branch 'MDL-36357' of git://github.com/danpoltawski/moodle 2013-01-09 09:34:22 +13:00
lti MDL-37035 Pass user locale after course locale. 2012-12-17 10:25:38 +00:00
page MDL-37032 upgrade: define all the 2.4.0 points 2012-12-11 13:11:11 +01:00
quiz Merge branch 'MDL-36357' of git://github.com/danpoltawski/moodle 2013-01-09 09:34:22 +13:00
resource MDL-37032 upgrade: define all the 2.4.0 points 2012-12-11 13:11:11 +01:00
scorm Merge branch 'MDL-36357' of git://github.com/danpoltawski/moodle 2013-01-09 09:34:22 +13:00
survey MDL-37171 fix some more E_STRICT issues 2012-12-19 09:54:53 +01:00
url MDL-37032 upgrade: define all the 2.4.0 points 2012-12-11 13:11:11 +01:00
wiki MDL-35991 - use PARAM_LOCALURL for local urls 2013-01-07 10:09:20 +08:00
workshop MDL-37032 upgrade: define all the 2.4.0 points 2012-12-11 13:11:11 +01:00
index.html
README.txt Fixed location of icon.gif 2010-03-24 10:56:22 +00:00
upgrade.txt MDL-29996 remove deprecated stuff from filter code 2012-12-30 17:02:18 +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