moodle/mod
2011-09-13 11:39:06 +08:00
..
assignment Merge branch MDL-29189-master of git://github.com/samhemelryk/moodle 2011-09-13 11:39:06 +08:00
chat MDL-29189 course Minor fixups after code review 2011-09-13 11:17:18 +12:00
choice MDL-29189 mutlilang Reviewed the uses of course shortname and ensured things are being formatted consistently 2011-09-08 09:30:27 +12:00
data Merge branch MDL-29189-master of git://github.com/samhemelryk/moodle 2011-09-13 11:39:06 +08:00
feedback Merge branch MDL-29189-master of git://github.com/samhemelryk/moodle 2011-09-13 11:39:06 +08:00
folder MDL-27001 'Show description' feature part 3: Implementation for all modules 2011-09-06 11:03:06 +01:00
forum MDL-29189 mutlilang Reviewed the uses of course shortname and ensured things are being formatted consistently 2011-09-08 09:30:27 +12:00
glossary MDL-29189 mutlilang Reviewed the uses of course shortname and ensured things are being formatted consistently 2011-09-08 09:30:27 +12:00
imscp Merge branch 'MDL-27001-master' of git://github.com/sammarshallou/moodle 2011-09-06 15:50:26 +02:00
label Merge branch 'MDL-28169' of git://github.com/nebgor/moodle 2011-07-07 10:21:32 +02:00
lesson MDL-28701 some more tempdirs updated 2011-09-10 10:55:32 +02:00
page MDL-27001 'Show description' feature part 3: Implementation for all modules 2011-09-06 11:03:06 +01:00
quiz MDL-29189 mutlilang Reviewed the uses of course shortname and ensured things are being formatted consistently 2011-09-08 09:30:27 +12:00
resource MDL-27001 'Show description' feature part 3: Implementation for all modules 2011-09-06 11:03:06 +01:00
scorm Merge branch MDL-29189-master of git://github.com/samhemelryk/moodle 2011-09-13 11:39:06 +08:00
survey Merge branch MDL-29189-master of git://github.com/samhemelryk/moodle 2011-09-13 11:39:06 +08:00
url MDL-29189 mutlilang Reviewed the uses of course shortname and ensured things are being formatted consistently 2011-09-08 09:30:27 +12:00
wiki Merge branch 'w36_MDL-29014_m22_str' of git://github.com/skodak/moodle 2011-09-13 12:45:34 +12:00
workshop MDL-27001 'Show description' feature part 3: Implementation for all modules 2011-09-06 11:03:06 +01:00
index.html
README.txt Fixed location of icon.gif 2010-03-24 10:56:22 +00:00
upgrade.txt MDL-28701 temp and cache upgrade notes 2011-09-10 11:36:41 +02: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