moodle/mod
2017-03-30 02:11:46 +02:00
..
assign Merge branch 'MDL-56324-master' of https://github.com/lucisgit/moodle 2017-03-21 11:28:13 +00:00
assignment MDL-57266 upgrade: add 3.2.0 separation line to all upgrade scripts 2016-12-05 17:10:20 +01:00
book MDL-40759 icons: Peer review fixes (all minor) 2017-03-17 15:52:46 +08:00
chat MDL-57629 webservice: Fix external functions phpdoc 2017-01-11 16:56:25 +01:00
choice Merge branch 'MDL-40759-master' of git://github.com/damyon/moodle 2017-03-20 13:57:38 +08:00
data MDL-57921 mod_data: Move approval code to new function 2017-03-30 02:11:46 +02:00
feedback MDL-57822 feedback: Correct page param for nonrespondents WS 2017-03-29 11:20:57 +08:00
folder Merge branch 'MDL-57890-master' of git://github.com/dpalou/moodle 2017-02-13 17:53:37 +01:00
forum Merge branch 'MDL-40759-master' of git://github.com/damyon/moodle 2017-03-20 13:57:38 +08:00
glossary MDL-40759 icons: Behat fixes for font-awesome 2017-03-17 15:52:18 +08:00
imscp MDL-57629 webservice: Fix external functions phpdoc 2017-01-11 16:56:25 +01:00
label MDL-4782 course: Behat tests for stealth mode support 2017-02-14 16:38:08 +08:00
lesson MDL-57757 mod_lesson: Check that there is an object 2017-03-29 12:56:33 +02:00
lti MDL-37168 mod_lti: Fix rename behat 2017-03-21 10:29:50 +08:00
page MDL-57890 ws: Return cmid in all get_by_courses WebServices 2017-02-07 14:07:51 +01:00
quiz MDL-58264 quiz: removed additional = symbol 2017-03-27 11:07:40 +11:00
resource MDL-40759 icons: Update unit tests 2017-03-17 15:52:17 +08:00
scorm MDL-40759 icons: Peer review fixes (all minor) 2017-03-17 15:52:46 +08:00
survey MDL-57697 survey: Remove unexisting param 2017-02-15 11:02:02 +01:00
url MDL-40759 icons: convert uses of pix_url to pix_icon 2017-03-17 15:52:17 +08:00
wiki MDL-40759 plugins: Add font icon mapping to all plugins 2017-03-17 15:51:29 +08:00
workshop MDL-40759 icons: Rename activity_icon 2017-03-17 15:52:18 +08:00
index.html
README.txt
upgrade.txt MDL-56307 course: New course_check_module_updates_since method 2016-10-25 10:10:52 +01: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