moodle/mod
2015-10-26 09:46:38 +08:00
..
assign MDL-51779 assign: PDF annotate quality 2015-10-23 09:22:38 -04:00
assignment MDL-50183 upgrade: add 2.9.0 separation line to all upgrade scripts 2015-05-12 00:21:05 +02:00
book MDL-46455 mod_*: added restore mapping to events 2015-10-11 18:14:57 -07:00
chat Merge branch 'MDL-51565-master' of git://github.com/jleyva/moodle 2015-10-16 09:35:23 +08:00
choice Merge branch 'MDL-51594-master' of git://github.com/jleyva/moodle 2015-10-15 14:19:10 +08:00
data Merge branch 'MDL-51565-master' of git://github.com/jleyva/moodle 2015-10-16 09:35:23 +08:00
feedback MDL-46455 events: added more mapping 2015-10-11 18:52:36 -07:00
folder MDL-46455 mod_*: added restore mapping to events 2015-10-11 18:14:57 -07:00
forum MDL-51782 mod_forum: fixed unit test failing on certain DBs 2015-10-20 14:44:58 +08:00
glossary MDL-46455 mod_*: added restore mapping to events 2015-10-11 18:14:57 -07:00
imscp MDL-46455 mod_*: added restore mapping to events 2015-10-11 18:14:57 -07:00
label MDL-50183 upgrade: add 2.9.0 separation line to all upgrade scripts 2015-05-12 00:21:05 +02:00
lesson MDL-46455 mod_*: added restore mapping to events 2015-10-11 18:14:57 -07:00
lti MDL-46455 mod_*: added restore mapping to events 2015-10-11 18:14:57 -07:00
page MDL-46455 mod_*: added restore mapping to events 2015-10-11 18:14:57 -07:00
quiz MDL-46455 mod_*: added restore mapping to events 2015-10-11 18:14:57 -07:00
resource MDL-40863 mod_resource: bump version 2015-10-23 11:34:52 +01:00
scorm Merge branch 'MDL-51594-master' of git://github.com/jleyva/moodle 2015-10-15 14:19:10 +08:00
survey MDL-51629 mod_survey: Coding style violation fix 2015-10-16 11:10:38 +08:00
url Merge branch 'MDL-46455-master-20151012' of git://github.com/damyon/moodle 2015-10-13 11:42:40 +08:00
wiki MDL-51260 tags: Update the tags form element to use the autocomplete field 2015-10-15 12:03:35 +08:00
workshop MDL-46455 mod_*: added restore mapping to events 2015-10-11 18:14:57 -07:00
index.html
README.txt
upgrade.txt MDL-51564 webservice: Review the use of external format_string 2015-10-06 14:00:45 +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