moodle/mod
2014-06-04 11:56:54 +08:00
..
assign Merge branch 'wip-mdl-44839' of git://github.com/rajeshtaneja/moodle 2014-06-04 10:07:03 +08:00
assignment MDL-45503 upgrade: add v2.7.0 sep lines 2014-05-28 01:13:42 +02:00
book MDL-45630 events: removed unnecessary 'the' from event descriptions 2014-05-31 15:27:11 -07:00
chat MDL-45630 events: removed unnecessary 'the' from event descriptions 2014-05-31 15:27:11 -07:00
choice MDL-45630 events: removed unnecessary 'the' from event descriptions 2014-05-31 15:27:11 -07:00
data Merge branch 'master_MDL-40371' of git://github.com/danmarsden/moodle 2014-06-03 15:19:22 +01:00
feedback Merge branch 'MDL-45592_master' of git://github.com/grabs/moodle 2014-06-03 16:58:05 +08:00
folder MDL-45503 upgrade: add v2.7.0 sep lines 2014-05-28 01:13:42 +02:00
forum MDL-45625 mod_forum: Correct typo in upgrade notes 2014-06-04 11:56:54 +08:00
glossary Merge branch 'master_MDL-40371' of git://github.com/danmarsden/moodle 2014-06-03 15:19:22 +01:00
imscp MDL-45503 upgrade: add v2.7.0 sep lines 2014-05-28 01:13:42 +02:00
label MDL-45503 upgrade: add v2.7.0 sep lines 2014-05-28 01:13:42 +02:00
lesson Merge branch 'master_MDL-40371' of git://github.com/danmarsden/moodle 2014-06-03 15:19:22 +01:00
lti Merge branch 'MDL-44902_LTI_Addtions' of https://github.com/moodlerooms/moodle 2014-06-02 16:33:39 +02:00
page MDL-45503 upgrade: add v2.7.0 sep lines 2014-05-28 01:13:42 +02:00
quiz Merge branch 'master_MDL-40371' of git://github.com/danmarsden/moodle 2014-06-03 15:19:22 +01:00
resource MDL-45503 upgrade: add v2.7.0 sep lines 2014-05-28 01:13:42 +02:00
scorm Merge branch 'master_MDL-40371' of git://github.com/danmarsden/moodle 2014-06-03 15:19:22 +01:00
survey MDL-45503 upgrade: add v2.7.0 sep lines 2014-05-28 01:13:42 +02:00
url MDL-45503 upgrade: add v2.7.0 sep lines 2014-05-28 01:13:42 +02:00
wiki MDL-45630 events: removed unnecessary 'the' from event descriptions 2014-05-31 15:27:11 -07:00
workshop MDL-45630 events: removed unnecessary 'the' from event descriptions 2014-05-31 15:27:11 -07:00
index.html
README.txt
upgrade.txt MDL-41286 report_outline: updated report to use logging api 2014-04-15 22:42:59 -07: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