moodle/mod
2016-02-23 14:36:54 +00:00
..
assign MDL-31989 search: New search areas 2016-02-23 10:47:57 +00:00
assignment Merge branch 'MDL-51839-master' of git://github.com/andrewnicols/moodle 2016-02-16 10:58:22 +08:00
book MDL-31989 search: New search areas 2016-02-23 10:47:57 +00:00
chat MDL-31989 search: New search areas 2016-02-23 10:47:57 +00:00
choice MDL-31989 search: New search areas 2016-02-23 10:47:57 +00:00
data Merge branch 'MDL-51929-master' of git://github.com/dpalou/moodle 2016-02-16 11:22:53 +01:00
feedback Merge branch 'MDL-42460-master' of git://github.com/marinaglancy/moodle 2016-02-23 14:36:54 +00:00
folder MDL-31989 search: New search areas 2016-02-23 10:47:57 +00:00
forum MDL-31989 search: get_config method to search areas 2016-02-23 10:47:59 +00:00
glossary MDL-31989 search: get_config method to search areas 2016-02-23 10:47:59 +00:00
imscp MDL-31989 search: New search areas 2016-02-23 10:47:57 +00:00
label MDL-31989 search: New search areas 2016-02-23 10:47:57 +00:00
lesson MDL-31989 search: New search areas 2016-02-23 10:47:57 +00:00
lti MDL-31989 search: New search areas 2016-02-23 10:47:57 +00:00
page MDL-31989 search: get_config method to search areas 2016-02-23 10:47:59 +00:00
quiz MDL-31989 search: New search areas 2016-02-23 10:47:57 +00:00
resource MDL-31989 search: New search areas 2016-02-23 10:47:57 +00:00
scorm MDL-31989 search: New search areas 2016-02-23 10:47:57 +00:00
survey MDL-31989 mod_survey: Prevent templates from being indexed 2016-02-23 19:58:52 +08:00
url MDL-31989 search: New search areas 2016-02-23 10:47:57 +00:00
wiki MDL-31989 search: New search areas 2016-02-23 10:47:57 +00:00
workshop MDL-31989 search: New search areas 2016-02-23 10:47:57 +00: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