moodle/mod
2012-09-03 15:49:50 +02:00
..
assign Merge branch 'MDL-34192' of git://github.com/stronk7/moodle 2012-08-28 14:44:06 +02:00
assignment MDL-30121 Assignment 2.2: Draft submission files will not be included in zip, if activity is open 2012-08-24 09:48:45 +08:00
book MDL-33362 book: Parse links to book modules from 1.9 backups 2012-08-16 13:32:00 +08:00
chat MDL-34648 Chat: No more errors when sentence begin with 'To' 2012-08-17 14:59:57 +08:00
choice MDL-34994 mod_choice: fix restore of user responses - use correct optionid 2012-08-22 09:01:54 +12:00
data Merge branch 'MDL-31496_master' of git://github.com/dmonllao/moodle 2012-09-03 12:20:38 +12:00
feedback Merge branch 'MDL-34952_master' of git://github.com/grabs/moodle 2012-08-29 13:26:51 +08:00
folder MDL-34741 use 2in3 in mod_folder 2012-08-11 20:40:03 +02:00
forum MDL-34549 libraries: Replace get_context_instance_by_id() by context::instance_by_id() 2012-08-24 11:30:10 +08:00
glossary MDL-34549 libraries: Replace get_context_instance_by_id() by context::instance_by_id() 2012-08-24 11:30:10 +08:00
imscp MDL-34741 use 2in3 in mod_imscp 2012-08-11 20:40:04 +02:00
label MDL-34096 Installation : Added 2.3 upgrade line to db upgrade scripts. 2012-06-29 11:41:09 +08:00
lesson MDL-35147 lesson qformat import: Dirty hack to support array questiontext structures. 2012-08-31 03:02:53 +02:00
lti MDL-34741 use 2in3 in mod_lti 2012-08-11 20:40:06 +02:00
page MDL-31973 Remove inadvertantly committed function call from testing 2012-08-29 09:22:11 +01:00
quiz Merge branch 'MDL-34549-master' of git://github.com/ankitagarwal/moodle 2012-08-28 11:45:11 +08:00
resource MDL-34471 libraries: Replace all uses of get_context_instance() with respective context_XXXX::instance() method 2012-08-02 15:37:38 +08:00
scorm Merge branch 'w33_MDL-34741_m24_yui2in3' of git://github.com/skodak/moodle 2012-08-14 15:33:10 +08:00
survey MDL-34741 use 2in3 in mod_survey 2012-08-11 20:40:11 +02:00
url MDL-34470 url: Replace all instances of get_context_instance() with context_xxx::instance() in mod/url 2012-07-23 15:10:07 +08:00
wiki MDL-34549 libraries: Replace get_context_instance_by_id() by context::instance_by_id() 2012-08-24 11:30:10 +08:00
workshop Merge branch 'master_MDL-34593_add_extra_plugin_param_to_get_form_elements_module' of git://github.com/kanikagoyal/moodle 2012-08-15 03:18:58 +02:00
index.html
README.txt
upgrade.txt MDL-34954 allow subplugins to define plugininfo_* class 2012-08-18 13:03:58 +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