moodle/mod
2013-04-19 15:20:02 +01:00
..
assign Merge branch 'MDL-38361' of https://github.com/prateeksachan/moodle 2013-04-19 15:11:33 +01:00
assignment Merge branch 'w15_MDL-34674_m25_spell' of git://github.com/skodak/moodle 2013-04-16 15:56:10 +08:00
book MDL-22153 backup: delete old, unused, 1.9 files 2013-04-07 17:20:41 +02:00
chat NOBUG - reduce whitespace errors a little 2013-04-15 13:29:14 +01:00
choice MDL-38573 choice: Reformat settings form 2013-04-17 15:54:59 +08:00
data Merge branch 'w15_MDL-34674_m25_spell' of git://github.com/skodak/moodle 2013-04-16 15:56:10 +08:00
feedback Merge branch 'MDL-38005-master' of git://github.com/FMCorz/moodle 2013-03-18 13:45:41 +08:00
folder MDL-38646 mod_folder: improved upgrade of showexpanded 2013-04-19 16:28:29 +12:00
forum MDL-39185 mod_forum: declare new object before creating member variables to prevent Strict Standards warning 2013-04-17 15:20:41 +08:00
glossary MDL-38940 behat: New test 2013-04-11 17:26:53 +08:00
imscp MDL-38552 forms: IMS CP content section expanded by default 2013-03-20 14:31:33 +08:00
label MDL-38541 Make sure course cache is cleared properly during upgrade 2013-04-09 11:31:18 +10:00
lesson Merge branch 'MDL-38947_master' of git://github.com/dmonllao/moodle 2013-04-15 02:22:23 +02:00
lti MDL-32620 whitespace + comment fixes. 2013-02-19 13:21:18 +01:00
page MDL-38611 page: Reformat settings form 2013-03-26 15:40:24 +08:00
quiz Merge branch 'MDL-39167' of git://github.com/timhunt/moodle 2013-04-19 13:13:28 +08:00
resource MDL-38352 Merge English strings from the en_fix language pack 2013-03-06 16:44:39 +01:00
scorm Merge branch 'MDL-39219_scorm_ie7' of git://github.com/davosmith/moodle 2013-04-19 15:20:02 +01:00
survey Merge branch 'MDL-38817_master' of git://github.com/dmonllao/moodle 2013-04-01 13:25:31 +02:00
url Merge branch 'MDL-38612-master-int' of git://github.com/FMCorz/moodle 2013-04-04 01:15:34 +02:00
wiki Merge branch 'wip-MDL-38309-m25' of git://github.com/marinaglancy/moodle 2013-04-15 10:24:20 +01:00
workshop MDL-39081 workshop mod: fixed missing setType error 2013-04-15 15:42:22 +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