moodle/mod
Dan Poltawski 0a9b944a15 Merge branch 'MDL-36587-master' of git://github.com/damyon/moodle
Conflicts:
	mod/assign/locallib.php
2013-01-15 11:19:40 +08:00
..
assign Merge branch 'MDL-36587-master' of git://github.com/damyon/moodle 2013-01-15 11:19:40 +08:00
assignment Merge branch 'MDL-30700-master' of git://github.com/damyon/moodle 2012-12-11 19:56:31 +01:00
book MDL-32341 calendar: get_file_by_hash() expects a hash 2013-01-11 11:55:55 +08: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 'wip-mdl-29534' of git://github.com/rajeshtaneja/moodle 2013-01-14 14:59:22 +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-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 MDL-37378 quiz restore: timecheckstate not in old backups. 2013-01-11 13:17:13 +00: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-37394' of git://github.com/danmarsden/moodle 2013-01-14 11:46:13 +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 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