moodle/mod
2012-04-03 21:17:58 +02:00
..
assignment MDL-29400 assignment: Require a file to be uploaded in form 2012-03-26 11:19:57 +13:00
chat Merge branch 'w12_MDL-32094_m23_phpstrict' of git://github.com/skodak/moodle 2012-03-20 16:47:17 +13:00
choice MDL-32251 more E_STRICT fixes 2012-03-30 19:02:58 +02:00
data Merge branch 'w14_MDL-32251_m23_strict3' of git://github.com/skodak/moodle 2012-04-03 21:17:58 +02:00
feedback MDL-31768 - it is not possible to add a picture to the thanks page in feedback 2012-04-02 11:16:32 +08:00
folder MDL-32251 E_STRICT fixes part 3 2012-03-29 15:24:30 +02:00
forum Merge branch 'w12_MDL-32094_m23_phpstrict' of git://github.com/skodak/moodle 2012-03-20 16:47:17 +13:00
glossary Merge branch 'master_MDL-31908_glossary_entrylist_print_version_not_showing_content' of git://github.com/kanikagoyal/moodle 2012-04-02 11:19:58 +12:00
imscp MDL-32251 E_STRICT fixes part 3 2012-03-29 15:24:30 +02:00
label MDL-19125 module restrictions: addinstance capabilities for all mods 2012-03-15 17:13:43 +00:00
lesson MDL-31775 lesson: fix undefined variable warnings 2012-03-27 20:01:06 +08:00
lti Merge branch 'w12_MDL-31857_m23_phpunit' of git://github.com/skodak/moodle 2012-03-22 10:44:04 +13:00
page MDL-32251 E_STRICT fixes part 3 2012-03-29 15:24:30 +02:00
quiz MDL-32214 quiz regrading: with many attempts, PHP runs out of memory 2012-04-02 11:04:05 +08:00
resource MDL-32251 E_STRICT fixes part 3 2012-03-29 15:24:30 +02:00
scorm Merge branch 'master_MDL-32147' of git://github.com/danmarsden/moodle 2012-03-27 09:51:40 +13:00
survey MDL-19125 module restrictions: addinstance capabilities for all mods 2012-03-15 17:13:43 +00:00
url MDL-32251 E_STRICT fixes part 3 2012-03-29 15:24:30 +02:00
wiki Merge branch 'w14_MDL-32251_m23_strict3' of git://github.com/skodak/moodle 2012-04-03 21:17:58 +02:00
workshop Merge branch 'w12_MDL-32094_m23_phpstrict' of git://github.com/skodak/moodle 2012-03-20 16:47:17 +13:00
index.html
README.txt
upgrade.txt MDL-19125 module restrictions: document change in mod/upgrade.txt 2012-03-15 17:13:54 +00: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