moodle/mod
2010-02-10 16:21:49 +00:00
..
assignment MDL-20204 removing usused styles 2010-01-26 09:53:52 +00:00
chat MDL-21420 finally moving old global mstr to new M.str. 2010-02-07 09:43:07 +00:00
choice MDL-21577 converting select auto submit code 2010-02-10 16:20:28 +00:00
data MDL-20204 legacy time selects converted, please note we should always use mforms if possible 2010-02-10 14:27:03 +00:00
feedback MDL-21577 fixed typos 2010-02-10 16:21:49 +00:00
folder MDL-21400 converted mod/folder to new JS coding style 2010-02-06 17:58:07 +00:00
forum MDL-20204 legacy time selects converted, please note we should always use mforms if possible 2010-02-10 14:27:03 +00:00
glossary MDL-20204 a lot more steps away from html_select 2010-02-10 09:37:50 +00:00
hotpot MDL-21400 finalising JS api - removing ->on_dom_ready (now bool param in js() and js_init_call()) and after_delay() (again int parameter) - the reason is it was adding unnecessary complexity and it is used in just a few places that will be eventually converted to the new js_init_call() anyway 2010-02-06 14:45:17 +00:00
imscp MDL-21420 finally moving old global mstr to new M.str. 2010-02-07 09:43:07 +00:00
label MDL-20204 more steps away from old popup_form 2010-02-10 11:25:17 +00:00
lesson MDL-21577 fixed typos 2010-02-10 16:21:49 +00:00
page MDL-21233 moodle_url improvemewnts, code simplification, more diagnostics; fixed several regressions 2010-01-16 15:39:56 +00:00
quiz MDL-20204 fixed regression from button conversion 2010-02-10 11:35:54 +00:00
resource MDL-21400 fixed my own ugly mess in resizing of embedded stuff + converted to YUI3 2010-02-06 18:47:44 +00:00
scorm MDL-21577 fixed typos 2010-02-10 16:21:49 +00:00
survey MDL-21420 finally moving old global mstr to new M.str. 2010-02-07 09:43:07 +00:00
url MDL-21400 fixed my own ugly mess in resizing of embedded stuff + converted to YUI3 2010-02-06 18:47:44 +00:00
wiki MDL-20204 a lot more steps away from html_select 2010-02-10 09:37:50 +00:00
workshop MDL-20204 a lot more steps away from html_select 2010-02-10 09:37:50 +00:00
index.html
README.txt MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup 2009-11-01 16:48:45 +00:00
upgrade.txt MDL-21125 removing obsolete global $THEME 2009-12-23 18:23:21 +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