moodle/mod
2014-04-28 13:03:39 +08:00
..
assign Merge branch 'MDL-44614_master' of git://github.com/dmonllao/moodle 2014-04-28 13:03:39 +08:00
assignment MDL-45219 remove old assignment course instance list 2014-04-23 11:53:35 +08:00
book MDL-45144 describe mod_book events changes 2014-04-17 15:35:03 +08:00
chat MDL-45219 add \mod\chat\course_module_viewed event 2014-04-23 11:53:35 +08:00
choice Revert "MDL-41283 report_participation: Fixed legacy actions returned from api's" 2014-04-15 17:14:57 +08:00
data MDL-45232: mod_data: Simultaneously added entries do not sort correctly 2014-04-23 12:41:43 +09:30
feedback Revert "MDL-41283 report_participation: Fixed legacy actions returned from api's" 2014-04-15 17:14:57 +08:00
folder MDL-41286 report_outline: updated report to use logging api 2014-04-15 22:42:59 -07:00
forum Merge branch 'MDL-44928-master' of git://github.com/xow/moodle 2014-04-24 11:37:34 +12:00
glossary Revert "MDL-41283 report_participation: Fixed legacy actions returned from api's" 2014-04-15 17:14:57 +08:00
imscp MDL-41286 report_outline: updated report to use logging api 2014-04-15 22:42:59 -07:00
label MDL-41283 report_participation: Added phpdoc about function not used 2014-04-15 13:31:03 +08:00
lesson Revert "MDL-41283 report_participation: Fixed legacy actions returned from api's" 2014-04-15 17:14:57 +08:00
lti MDL-45035 events: Fix @package and @since tags in Moodle 2.7 events 2014-04-11 13:45:33 +08:00
page MDL-41286 report_outline: updated report to use logging api 2014-04-15 22:42:59 -07:00
quiz MDL-45186 mod_quiz: Some RTL improvements on quiz edit page 2014-04-22 12:27:34 +08:00
resource MDL-41286 report_outline: updated report to use logging api 2014-04-15 22:42:59 -07:00
scorm Revert "MDL-41283 report_participation: Fixed legacy actions returned from api's" 2014-04-15 17:14:57 +08:00
survey Merge branch 'wip-MDL-43626-master' of git://github.com/abgreeve/moodle 2014-04-18 10:52:45 +08:00
url MDL-41286 report_outline: updated report to use logging api 2014-04-15 22:42:59 -07:00
wiki Merge branch 'MDL-43673' of git://github.com/stronk7/moodle 2014-04-22 12:27:13 +08:00
workshop Merge branch 'wip-MDL-45116_master' of https://github.com/kwiliarty/moodle 2014-04-17 08:39:34 +12: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