moodle/mod
2013-12-10 22:06:39 +01:00
..
assign Merge branch 'wip-MDL-42174-master' of git://github.com/marinaglancy/moodle 2013-12-10 22:06:39 +01:00
assignment MDL-42930 Add 2.6.0 upgrade line 2013-11-18 11:47:17 +08:00
book MDL-43044 events: Add unit tests 2013-12-06 16:08:03 +08:00
chat MDL-43044 events: Add unit tests 2013-12-06 16:08:03 +08:00
choice MDL-43044 events: Add unit tests 2013-12-06 16:08:03 +08:00
data MDL-37380 mod_data: remove unused JS functions 2013-12-06 16:27:41 +08:00
feedback MDL-43044 events: Deprecate and remove code duplication from instances_list_viewed events 2013-12-06 15:59:49 +08:00
folder MDL-40191 folder: Do not check capability in renderer 2013-12-04 18:27:55 +11:00
forum Merge branch 'wip-MDL-42731-master' of git://github.com/marinaglancy/moodle 2013-12-03 17:29:39 +08:00
glossary MDL-43006 behat: adding javascript tag because of behat bug 2013-11-25 14:59:28 +11:00
imscp MDL-42508 imspcp: add module generator 2013-11-22 15:25:38 +11:00
label MDL-42930 Add 2.6.0 upgrade line 2013-11-18 11:47:17 +08:00
lesson Merge branch 'master-mdl43020' of https://github.com/tlock/moodle 2013-12-03 16:08:15 +08:00
lti MDL-42930 Add 2.6.0 upgrade line 2013-11-18 11:47:17 +08:00
page MDL-43044 events: Deprecate and remove code duplication from instances_list_viewed events 2013-12-06 15:59:49 +08:00
quiz Merge branch 'master-mdl33971' of https://github.com/tlock/moodle 2013-12-03 17:17:06 +01:00
resource MDL-42930 Add 2.6.0 upgrade line 2013-11-18 11:47:17 +08:00
scorm MDL-42174 behat: deprecate upload file to filepicker step in favour of filemanager 2013-12-05 21:00:25 +11:00
survey MDL-42930 Add 2.6.0 upgrade line 2013-11-18 11:47:17 +08:00
url MDL-42930 Add 2.6.0 upgrade line 2013-11-18 11:47:17 +08:00
wiki MDL-42627 behat: Moving the deprecated method to behat_deprecate and updating scenarios 2013-12-02 14:13:17 +08:00
workshop MDL-42962 events: Remove duplicate code from all course_module_viewed events 2013-12-03 14:24:32 +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