moodle/mod
2013-09-10 14:33:41 +08:00
..
assign Merge branch 'MDL-40631-master' of git://github.com/damyon/moodle 2013-09-10 14:33:41 +08:00
assignment MDL-41192 course: Can not write to the read-only properties of cm_info 2013-09-10 14:11:30 +10:00
book Merge branch 'MDL-40686' of git://github.com/rwijaya/moodle 2013-09-10 13:39:01 +08:00
chat NOBUG: fixed whitespace 2013-09-10 13:02:35 +12:00
choice MDL-40732 choice: improve heading levels and styling 2013-08-20 16:05:01 +08:00
data NOBUG: fixed whitespace 2013-09-10 13:02:35 +12:00
feedback MDL-41568 Merge English strings from the en_fix language pack 2013-09-03 12:31:35 +02:00
folder Revert "MDL-39876 Change get_record('course') calls to get_course" 2013-08-21 13:42:30 +08:00
forum MDL-23335 forum: Fix whitespace 2013-09-10 12:59:49 +08:00
glossary Merge branch 'MDL-29069' of https://github.com/bostelm/moodle 2013-09-09 17:37:49 +08:00
imscp Revert "MDL-39876 Change get_record('course') calls to get_course" 2013-08-21 13:42:30 +08:00
label MDL-40438 migrate all collatorlib:: and textlib:: uses 2013-08-06 21:04:35 +02:00
lesson Merge branch 'MDL-40735_lesson' of https://github.com/andyjdavis/moodle 2013-09-10 15:44:49 +12:00
lti MDL-41568 Merge English strings from the en_fix language pack 2013-09-03 12:31:35 +02:00
page Revert "MDL-39876 Change get_record('course') calls to get_course" 2013-08-21 13:42:30 +08:00
quiz Merge branch 'MDL-38765' of git://github.com/timhunt/moodle 2013-08-27 13:51:40 +08:00
resource MDL-32862 backup: fixed missing global 2013-09-10 10:57:20 +12:00
scorm Merge branch 'master_MDL-41290' of git://github.com/danmarsden/moodle 2013-09-09 10:46:59 +08:00
survey Merge branch 'MDL-40736' of git://github.com/rwijaya/moodle 2013-09-10 13:48:01 +08:00
url Revert "MDL-39876 Change get_record('course') calls to get_course" 2013-08-21 13:42:30 +08:00
wiki MDL-41288 wiki: improve heading levels and styling 2013-09-10 14:08:34 +08:00
workshop Merge branch 'wip-MDL-41556-master' of git://github.com/abgreeve/moodle 2013-09-10 13:07:37 +12:00
index.html
README.txt
upgrade.txt MDL-40438 migrate all collatorlib:: and textlib:: uses 2013-08-06 21:04:35 +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