moodle/mod
2009-07-28 11:24:57 +00:00
..
assignment MDL-14589 added missing require_login() 2009-07-19 08:56:45 +00:00
chat chat: Remove unnecessary call-time pass by reference. 2009-07-24 09:16:09 +00:00
choice MDL-19756 Refactored JS code from SCORM and choice modules into the core function submit_form_by_id() 2009-07-28 11:24:57 +00:00
data MDL-14589 added missing require_login() 2009-07-19 08:56:45 +00:00
feedback MDL-19807 Migrated choose_from_menu to the new $OUTPUT->select_menu() function 2009-07-28 09:35:26 +00:00
forum MDL-14589 added missing require_login() 2009-07-19 08:56:45 +00:00
glossary MDL-14589 added missing require_login() 2009-07-19 08:56:45 +00:00
hotpot MDL-19690 - lots more $CFG->pixpath to $OUTPUT->old_icon_url 2009-07-02 12:07:58 +00:00
label MDL-16438 centralise information about plugins to avoid duplication, includes local customisation conversion to standard plugin structure + fixes for some recent regressions; see tracker for more details and links to docs and forums discussions 2009-06-19 14:25:56 +00:00
lesson MDL-19812 Migrated choose_from_menu to the new $OUTPUT->select_menu() function 2009-07-28 09:32:44 +00:00
quiz quiz: MDL-19891 fix that quiz navigation block that was broken by the blocks changes. 2009-07-23 09:20:33 +00:00
resource MDL-19882 Add remaining missing require_login-s before require_capability. 2009-07-20 09:46:53 +00:00
scorm MDL-19756 Refactored JS code from SCORM and choice modules into the core function submit_form_by_id() 2009-07-28 11:24:57 +00:00
survey mod-survey MDL-19621 Fixed notices appearing in generated charts 2009-06-25 04:04:01 +00:00
wiki MDL-19817 Migrated choose_from_menu to the new $OUTPUT->select_menu() function 2009-07-28 09:33:14 +00:00
index.html To stop people browsing modules 2005-01-23 04:15:13 +00:00
README.txt fixed obsolete readme info 2009-07-09 20:02:27 +00:00
upgrade.txt MDL-18934 removed legacy grading support 2009-04-22 21:03:38 +00: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

  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