moodle/mod
2013-09-10 13:07:37 +12:00
..
assign Merge branch 'MDL-37804' of github.com:recreate/moodle 2013-09-09 17:13:22 +08:00
assignment Merge branch 'wip-mdl-41456' of git://github.com/rajeshtaneja/moodle 2013-09-04 11:45:07 +08:00
book Merge branch 'MDL-38794' of https://github.com/prateeksachan/moodle 2013-09-09 11:12:56 +12: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 NOBUG: fixed whitespace 2013-09-10 13:02:35 +12: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 MDL-41568 Merge English strings from the en_fix language pack 2013-09-03 12:31:35 +02: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 MDL-29378 Fix the recent string modification 2013-09-09 11:19:48 +02:00
url Revert "MDL-39876 Change get_record('course') calls to get_course" 2013-08-21 13:42:30 +08:00
wiki Revert "MDL-39876 Change get_record('course') calls to get_course" 2013-08-21 13:42:30 +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