Note:

If you want to create a new page for developers, you should create it on the Moodle Developer Resource site.

Plugin types: Difference between revisions

From MoodleDocs
No edit summary
No edit summary
Line 51: Line 51:


Sometimes it is not possible to write a proper plugin for what you want to do, in which case you may have to resort to using the [[Local_customisation|local customisations]] hook.
Sometimes it is not possible to write a proper plugin for what you want to do, in which case you may have to resort to using the [[Local_customisation|local customisations]] hook.
==See also==
* [[Frankenstyle]]


[[Category:Coding guidelines|Plugins]]
[[Category:Coding guidelines|Plugins]]
[[Category:Plugins]]
[[Category:Plugins]]

Revision as of 06:12, 30 January 2012

The M in Moodle stands for modular, and the easiest, most maintainable way to add new functionality to Moodle is by using one of the many plugin APIs.

There are many types of plugin you can write:

Other information that applies to all types of plugins:

Please see the Guidelines for contributed code for an overview of how to contribute to the Moodle code.

Sometimes it is not possible to write a proper plugin for what you want to do, in which case you may have to resort to using the local customisations hook.

See also