moodle/mod
2016-05-20 15:28:37 +08:00
..
assign MDL-54661 mod_assign: Unescape course name in grading nav template 2016-05-20 15:28:37 +08:00
assignment MDL-50175 graphics: Optimized SVGs with SVGO. 2016-02-25 11:56:42 +00:00
book MDL-53221 search: Renaming search areas 2016-05-16 13:02:02 +08:00
chat MDL-53221 search: Renaming search areas 2016-05-16 13:02:02 +08:00
choice MDL-53221 search: Renaming search areas 2016-05-16 13:02:02 +08:00
data MDL-54125 mod_data: fixed PHP notice 2016-05-11 13:01:24 +08:00
feedback Merge branch 'MDL-54108-master' of git://github.com/marinaglancy/moodle 2016-05-17 17:16:10 +08:00
folder MDL-53221 search: Renaming search areas 2016-05-16 13:02:02 +08:00
forum MDL-53221 search: Renaming search areas 2016-05-16 13:02:02 +08:00
glossary MDL-53221 search: Renaming search areas 2016-05-16 13:02:02 +08:00
imscp MDL-53221 search: Renaming search areas 2016-05-16 13:02:02 +08:00
label MDL-53221 search: Renaming search areas 2016-05-16 13:02:02 +08:00
lesson MDL-53221 search: Renaming search areas 2016-05-16 13:02:02 +08:00
lti Merge branch 'wip-MDL-54129-master' of git://github.com/abgreeve/moodle 2016-05-17 17:16:09 +08:00
page MDL-53221 search: Renaming search areas 2016-05-16 13:02:02 +08:00
quiz MDL-53221 search: Renaming search areas 2016-05-16 13:02:02 +08:00
resource MDL-53221 search: Renaming search areas 2016-05-16 13:02:02 +08:00
scorm MDL-53221 search: Renaming search areas 2016-05-16 13:02:02 +08:00
survey MDL-53221 search: Renaming search areas 2016-05-16 13:02:02 +08:00
url MDL-53221 search: Renaming search areas 2016-05-16 13:02:02 +08:00
wiki MDL-53221 search: Renaming search areas 2016-05-16 13:02:02 +08:00
workshop MDL-53221 search: Renaming search areas 2016-05-16 13:02:02 +08:00
index.html
README.txt
upgrade.txt MDL-51267 mod: move the changes from the API to the form file 2016-04-19 16:36:26 +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