moodle/mod
2016-03-21 17:09:15 +08:00
..
assign Merge branch 'MDL-52924-master' of git://github.com/jleyva/moodle 2016-03-21 09:25:19 +08:00
assignment MDL-50175 graphics: Optimized SVGs with SVGO. 2016-02-25 11:56:42 +00:00
book MDL-50032 webservice: Remove plugin functions from mobile service 2016-03-04 14:15:33 +01:00
chat MDL-50032 webservice: Remove plugin functions from mobile service 2016-03-04 14:15:33 +01:00
choice MDL-46891 behat: Move wait in behat_base so it can be used easily 2016-03-11 10:51:16 +08:00
data MDL-53149 mod_data: update backup and webservices for timemodified 2016-03-15 23:41:55 +01:00
feedback MDL-46891 behat: Driver specific fixes. 2016-03-11 10:51:16 +08:00
folder Merge branch 'MDL-53179' of https://github.com/andrewhancox/moodle 2016-03-15 15:07:46 +08:00
forum Merge branch 'MDL-53509-master' of git://github.com/andrewnicols/moodle 2016-03-21 08:42:58 +08:00
glossary Merge branch 'MDL-53354-master' of git://github.com/merrill-oakland/moodle 2016-03-16 01:09:45 +01:00
imscp MDL-50032 webservice: Remove plugin functions from mobile service 2016-03-04 14:15:33 +01:00
label MDL-50175 graphics: Optimized SVGs with SVGO. 2016-02-25 11:56:42 +00:00
lesson Merge branch 'MDL-53200-master-enfix' of git://github.com/mudrd8mz/moodle 2016-03-01 21:23:16 +01:00
lti MDL-52821 lti: Remove summary from unit test 2016-03-16 13:24:22 +08:00
page Merge branch 'MDL-53354-master' of git://github.com/merrill-oakland/moodle 2016-03-16 01:09:45 +01:00
quiz Merge branch 'MDL-52830-master' of git://github.com/jleyva/moodle 2016-03-21 17:09:15 +08:00
resource MDL-50032 webservice: Remove plugin functions from mobile service 2016-03-04 14:15:33 +01:00
scorm Merge branch 'm31_MDL-48680_Add_Score_Status_Events' of git://github.com/scara/moodle 2016-03-17 16:34:44 +08:00
survey MDL-50032 webservice: Remove plugin functions from mobile service 2016-03-04 14:15:33 +01:00
url MDL-50032 webservice: Remove plugin functions from mobile service 2016-03-04 14:15:33 +01:00
wiki MDL-51986 wiki: Add tests for mod_wiki_get_page_contents 2016-03-11 14:09:36 +01:00
workshop MDL-46891 Behat: Added support for behat 3 2016-03-11 10:51:15 +08:00
index.html
README.txt
upgrade.txt MDL-51839 mod: Info about removing icon.gif files 2016-02-16 11:02:49 +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