moodle/mod
2013-02-08 12:05:44 +01:00
..
assign Merge branch 'MDL-37646-master' of git://github.com/damyon/moodle 2013-02-04 13:49:23 +08:00
assignment MDL-30144 Assignmnet 2.2: fixed context retrival 2013-02-06 12:36:25 +08:00
book MDL-37726 remove PREVIOUS/NEXT from all install.xml files 2013-01-29 22:34:46 +01:00
chat MDL-37726 remove PREVIOUS/NEXT from all install.xml files 2013-01-29 22:34:46 +01:00
choice MDL-37726 remove PREVIOUS/NEXT from all install.xml files 2013-01-29 22:34:46 +01:00
data MDL-37726 remove PREVIOUS/NEXT from all install.xml files 2013-01-29 22:34:46 +01:00
feedback MDL-37800 mod_feedback - item "information" does not appear correctly 2013-02-01 11:44:52 +01:00
folder MDL-37774 Do not pass trailing slash if the method does not want it 2013-02-08 12:05:44 +01:00
forum Merge branch 'MDL-30102_master' of git://github.com/markn86/moodle 2013-02-05 11:23:01 +08:00
glossary Merge branch 'MDL-37801_glossary_links' of git://github.com/davosmith/moodle 2013-02-05 01:01:14 +01:00
imscp MDL-37726 remove PREVIOUS/NEXT from all install.xml files 2013-01-29 22:34:46 +01:00
label MDL-37726 remove PREVIOUS/NEXT from all install.xml files 2013-01-29 22:34:46 +01:00
lesson MDL-37726 remove PREVIOUS/NEXT from all install.xml files 2013-01-29 22:34:46 +01:00
lti MDL-37726 remove PREVIOUS/NEXT from all install.xml files 2013-01-29 22:34:46 +01:00
page MDL-37726 remove PREVIOUS/NEXT from all install.xml files 2013-01-29 22:34:46 +01:00
quiz MDL-37726 remove PREVIOUS/NEXT from all install.xml files 2013-01-29 22:34:46 +01:00
resource MDL-37726 remove PREVIOUS/NEXT from all install.xml files 2013-01-29 22:34:46 +01:00
scorm MDL-33078 SCORM: rebuild toc when calling LMSCommit to improve pre-req handling 2013-02-04 22:04:06 +13:00
survey MDL-37726 remove PREVIOUS/NEXT from all install.xml files 2013-01-29 22:34:46 +01:00
url MDL-37726 remove PREVIOUS/NEXT from all install.xml files 2013-01-29 22:34:46 +01:00
wiki Revert "MDL-37613 mod: changed generalbox class in table to generaltable class in mod/feedback (2 files);mod/glossary (3 files);mod/wiki (1 file)." 2013-01-31 15:02:12 +08:00
workshop Merge branch 'MDL-37781-workshop-schedule' of git://github.com/mudrd8mz/moodle 2013-02-04 16:18:00 +08: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