moodle/mod
2012-09-14 10:48:07 +02:00
..
assign Revert "MDL-34794: Add reset course feature in mod_assign (new assignment (2.3))" 2012-09-14 10:48:07 +02:00
assignment MDL-30121 Assignment 2.2: Draft submission files will not be included in zip, if activity is open 2012-08-24 09:48:45 +08:00
book Merge branch 'MDL-35007-master' of git://github.com/ankitagarwal/moodle 2012-09-11 11:07:29 +12:00
chat MDL-35264 mod_chat Bigger frame for text input 2012-09-12 13:52:50 +08:00
choice MDL-35208 mod_choice: respect order of options when running backup 2012-09-04 11:01:06 +12:00
data Merge branch 'MDL-31496_master' of git://github.com/dmonllao/moodle 2012-09-03 12:20:38 +12:00
feedback Merge branch 'MDL-34952_master' of git://github.com/grabs/moodle 2012-08-29 13:26:51 +08:00
folder MDL-34338 mod_folder: delete unused $browser var. 2012-09-11 02:18:38 +02:00
forum Revert "MDL-32125 mod_forum: updating subscription mode not reflected" 2012-09-14 10:37:10 +02:00
glossary MDL-34549 libraries: Replace get_context_instance_by_id() by context::instance_by_id() 2012-08-24 11:30:10 +08:00
imscp MDL-34741 use 2in3 in mod_imscp 2012-08-11 20:40:04 +02:00
label MDL-34096 Installation : Added 2.3 upgrade line to db upgrade scripts. 2012-06-29 11:41:09 +08:00
lesson Merge branch 'MDL-27799' of git://github.com/timhunt/moodle 2012-09-06 01:29:04 +02:00
lti MDL-34741 use 2in3 in mod_lti 2012-08-11 20:40:06 +02:00
page MDL-31973 Remove inadvertantly committed function call from testing 2012-08-29 09:22:11 +01:00
quiz MDL-34568 mod_quiz: Fixed up whitespace issue 2012-09-12 11:20:35 +12:00
resource MDL-34471 libraries: Replace all uses of get_context_instance() with respective context_XXXX::instance() method 2012-08-02 15:37:38 +08:00
scorm Merge branch 'master_MDL-33755' of git://github.com/danmarsden/moodle 2012-09-12 12:17:04 +02:00
survey MDL-34741 use 2in3 in mod_survey 2012-08-11 20:40:11 +02:00
url MDL-34470 url: Replace all instances of get_context_instance() with context_xxx::instance() in mod/url 2012-07-23 15:10:07 +08:00
wiki MDL-34549 libraries: Replace get_context_instance_by_id() by context::instance_by_id() 2012-08-24 11:30:10 +08:00
workshop MDL-34725 Make the signatures of process_legacy_element() method consistent 2012-08-29 15:35:37 +02:00
index.html
README.txt Fixed location of icon.gif 2010-03-24 10:56:22 +00:00
upgrade.txt MDL-34954 allow subplugins to define plugininfo_* class 2012-08-18 13:03:58 +02: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