moodle/mod
2011-06-04 22:11:03 +02:00
..
assignment Merge branch 'master' into backup-convert 2011-05-26 17:30:27 +02:00
chat Merge branch 'master' into backup-convert 2011-05-26 17:30:27 +02:00
choice MDL-27444 The choice module backup converter now uses on-start and on-end handlers to write <options> wrapper 2011-05-26 18:37:15 +02:00
data Merge pull request #1 from nebgor/MDL-27440_chunkyfix 2011-05-27 06:34:38 -07:00
feedback MDL-27441 mod_feedback: added conversion code to restore 1.9 backup to 2.1 site 2011-05-30 11:29:13 +08:00
folder MDL-27448 Simplified migration of the files embedded in the resources HTML texts 2011-06-04 21:13:56 +02:00
forum Merge branch 'master' into backup-convert 2011-05-26 17:30:27 +02:00
glossary MDL-27471 rating - whitespace cleanup 2011-05-25 16:54:51 +02:00
imscp MDL-27448 Changed the interface of resource module successors to make it clear they are a special case 2011-06-04 16:11:59 +02:00
label Merge branch 'master' into backup-convert 2011-05-26 17:30:27 +02:00
lesson MDL-27446 mod_lesson: added conversion code to restore 1.9 backup to 2.1 site 2011-05-30 10:56:31 +08:00
page MDL-27448 Simplified migration of the files embedded in the resources HTML texts 2011-06-04 21:13:56 +02:00
quiz MDL-27447 Backup - improvements to 1.9 quiz backup converter 2011-06-02 10:35:08 +08:00
resource MDL-27448 Do not stop conversion because of missing course files 2011-06-04 22:11:03 +02:00
scorm MDL-27449 Backup - migrating scorm file within scorm module 1.9 backup converter 2011-05-31 11:29:48 +08:00
survey Merge pull request #2 from rwijaya/MDL-27450 2011-05-27 06:44:30 -07:00
url MDL-27448 URL resource module backup conversion improved 2011-06-04 21:04:02 +02:00
wiki MDL-27451 Backup - added 1.9 backup conversion handler for wiki 2011-06-03 15:09:15 +08:00
workshop MDL-27471 Adding mandatory component & ratingarea to the ratings API + other fixes 2011-05-23 12:35:39 +02:00
index.html
README.txt Fixed location of icon.gif 2010-03-24 10:56:22 +00:00
upgrade.txt fixed typo 2010-09-05 21:05:20 +00: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