mirror of
https://github.com/moodle/moodle.git
synced 2025-03-26 02:22:51 +01:00
This reverts commit ed3d1ee60d1e48ade21438fd98fef2deb63ecb5f. This reverts commit ed8eebeecefa98e17c96084b72fe2cd923cc051d. This reverts commit f664a9387818b5b359df4696040da0aea07b926a. This reverts commit 9d2276572372f5d249cde8c61d0976e25f0fa4a8.
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