moodle/mod
Damyon Wiese c1432fad2c MDL-37619 Assign: Fix failed unit tests for mod/assign/lib.php
The failure was caused by a regression in MDL-37527.
2013-01-22 13:34:01 +08:00
..
assign MDL-37619 Assign: Fix failed unit tests for mod/assign/lib.php 2013-01-22 13:34:01 +08:00
assignment MDL-37457 testing Mark current classes as deprecated 2013-01-15 11:07:45 +08:00
book MDL-33206 mod_book: Add a link to display the print dialog in the print book tool 2013-01-18 10:49:45 -05:00
chat MDL-36968 Move function print_recent_activity() to the block recent_activity 2013-01-16 16:13:04 +11:00
choice MDL-37171 fix multiple spreadsheet related PHP4isms 2012-12-15 12:36:40 +01:00
data Merge branch 'MDL-37457_master' of git://github.com/dmonllao/moodle 2013-01-21 10:53:12 +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-37457_master' of git://github.com/dmonllao/moodle 2013-01-21 10:53:12 +08: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-35357' of git://github.com/rwijaya/moodle 2013-01-22 11:48:04 +08:00
lti MDL-37457 testing Mark current classes as deprecated 2013-01-15 11:07:45 +08:00
page MDL-37457 testing Mark current classes as deprecated 2013-01-15 11:07:45 +08:00
quiz Merge branch 'MDL-37583' of git://github.com/timhunt/moodle 2013-01-22 11:37:24 +08:00
resource MDL-37032 upgrade: define all the 2.4.0 points 2012-12-11 13:11:11 +01:00
scorm Merge branch 'master_MDL-36853' of git://github.com/danmarsden/moodle 2013-01-22 12:49:18 +08: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 Merge branch 'wip-MDL-35885-master' of git://github.com/phalacee/moodle 2013-01-14 13:40:06 +13:00
workshop MDL-37032 upgrade: define all the 2.4.0 points 2012-12-11 13:11:11 +01:00
index.html
README.txt
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