David Monllao fa90f52986 MDL-55127 mod_data: Search entries fixes 7 years ago
..
assign 098aad4f72 Merge branch 'MDL-55520-master' of git://github.com/damyon/moodle 7 years ago
assignment 4da854a68b MDL-54677 upgrade: add 3.1.0 separation line to all upgrade scripts 8 years ago
book 0bd8383a8b MDL-55278 search: Updating references to area namespace 7 years ago
chat 675345475d MDL-55274 mod_chat: Add unit tests for special commands 7 years ago
choice 0969f0da5b Merge branch 'MDL-48773_m32v1' of https://github.com/sbourget/moodle 7 years ago
data fa90f52986 MDL-55127 mod_data: Search entries fixes 7 years ago
feedback 431a82bd8d MDL-55333 mod_feedback: Correct constant name 7 years ago
folder 0bd8383a8b MDL-55278 search: Updating references to area namespace 7 years ago
forum f71df007d1 MDL-46654 mod_forum: Reduce complexity of closure 7 years ago
glossary 1a354b81b6 MDL-54941 glossary: Correct variable naming for entry files 7 years ago
imscp 0bd8383a8b MDL-55278 search: Updating references to area namespace 7 years ago
label 9f03fc3119 MDL-55464 mod_label: Add view permissions 7 years ago
lesson 504b65d2e5 MDL-55605 mod_lesson: Fix activitylinks restore bug 7 years ago
lti e0519d032d Merge branch 'MDL-55314-master' of https://github.com/mrmark/moodle 7 years ago
page 0bd8383a8b MDL-55278 search: Updating references to area namespace 7 years ago
quiz bdcd90b2f3 MDL-46514 behat: section should be set before switch-case 7 years ago
resource 6a853f7521 MDL-53765 mod_resource/mod_wiki: Removed update_module_button() 7 years ago
scorm 6f9f149b04 MDL-44712 scorm: make upgrade match install.xml defintion 7 years ago
survey 0bd8383a8b MDL-55278 search: Updating references to area namespace 7 years ago
url 0bd8383a8b MDL-55278 search: Updating references to area namespace 7 years ago
wiki 293857b5eb Merge branch 'MDL-55557_m32v1' of https://github.com/sbourget/moodle 7 years ago
workshop bab59f1c08 Merge branch 'MDL-54838-master' of https://github.com/nashtechdev01/moodle 7 years ago
README.txt a08bc515fc Fixed location of icon.gif 14 years ago
index.html 6c4785c2f2 To stop people browsing modules 19 years ago
upgrade.txt d3932d2b51 MDL-53765 core: Deprecate update_module_button functions 7 years ago

README.txt

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