moodle/mod
2014-04-01 14:45:05 +08:00
..
assign Merge branch 'w14_MDL-44715_m27_eventval' of git://github.com/skodak/moodle 2014-04-01 13:45:59 +08:00
assignment MDL-44151 Amend subplugin packages. 2014-02-18 01:33:05 +01:00
book MDL-44017 Events: Deprecated content_viewed event 2014-03-07 15:16:10 +08:00
chat MDL-44715 use parent::validate_data() consistently in all events 2014-03-28 14:09:31 +08:00
choice MDL-44715 use parent::validate_data() consistently in all events 2014-03-28 14:09:31 +08:00
data MDL-44552 Events: Fixed wrong id returned in get_url 2014-03-19 09:57:44 +08:00
feedback Merge branch 'w13_MDL-44107_m27_canview' of git://github.com/skodak/moodle 2014-03-25 17:10:27 +08:00
folder MDL-44321 events: cleaning up course_module_instance_list_viewed event 2014-02-28 16:36:09 +08:00
forum MDL-44505 mod_forum: Make mailing subject a configurable language string 2014-03-14 11:39:15 +00:00
glossary MDL-44715 use parent::validate_data() consistently in all events 2014-03-28 14:09:31 +08:00
imscp Merge branch 'MDL-40916_master' of https://github.com/markn86/moodle 2014-02-25 10:47:20 +08:00
label MDL-41176 mod_label: unified @package use 2014-02-16 11:48:00 +13:00
lesson MDL-44715 use parent::validate_data() consistently in all events 2014-03-28 14:09:31 +08:00
lti Merge branch 'wip-MDL-44403-master' of git://github.com/marinaglancy/moodle 2014-03-06 09:21:24 +08:00
page MDL-42575 mod_page: revert heading option display 2014-03-21 15:42:34 +08:00
quiz Merge branch 'w14_MDL-44715_m27_eventval' of git://github.com/skodak/moodle 2014-04-01 13:45:59 +08:00
resource MDL-44321 events: cleaning up course_module_instance_list_viewed event 2014-02-28 16:36:09 +08:00
scorm MDL-44715 use parent::validate_data() consistently in all events 2014-03-28 14:09:31 +08:00
survey MDL-44715 use parent::validate_data() consistently in all events 2014-03-28 14:09:31 +08:00
url MDL-44321 events: cleaning up course_module_instance_list_viewed event 2014-02-28 16:36:09 +08:00
wiki MDL-44715 use parent::validate_data() consistently in all events 2014-03-28 14:09:31 +08:00
workshop MDL-44717 events: Quick update to incorrect mod workshop class definition. 2014-04-01 14:45:05 +08:00
index.html
README.txt
upgrade.txt Merge branch 'wip-mdl-31405-new' of git://github.com/rajeshtaneja/moodle 2013-10-21 10:57:44 +08: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