moodle/mod
2013-02-12 10:09:26 +08:00
..
assign Merge branch 'MDL-37039-master' of git://github.com/damyon/moodle 2013-02-11 14:32:53 +08:00
assignment MDL-37122 core get_max_upload_sizes: Include "Course/Site/Activity limit (X)" in list of options 2013-02-07 10:50:52 +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-30638 mod_choice: Add required elements to repeated form items 2013-02-07 14:19:03 +00: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 Merge branch 'MDL-30637-master' of git://github.com/lucisgit/moodle 2013-02-11 10:37:03 +08:00
forum Merge branch 'MDL-5875-master' of git://github.com/FMCorz/moodle 2013-02-12 10:09:26 +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-34137 mod_label - resize images when uploaded via drag & drop 2013-02-08 08:13:24 +00: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-30637 mod_resource: Make content section expanded 2013-02-07 14:26:14 +00: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 MDL-37122 core get_max_upload_sizes: Include "Course/Site/Activity limit (X)" in list of options 2013-02-07 10:50:52 +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