https://wiki.mahara.org/index.php?title=User:Gold/Docs/Anatomy_of_a_Plugin&feed=atom&action=historyUser:Gold/Docs/Anatomy of a Plugin - Revision history2024-03-29T09:44:55ZRevision history for this page on the wikiMediaWiki 1.35.10https://wiki.mahara.org/index.php?title=User:Gold/Docs/Anatomy_of_a_Plugin&diff=12114&oldid=prevGold: Serious WIP. Will return to this after I get the Elasticsearch 7 class working.2021-05-18T20:31:33Z<p>Serious WIP. Will return to this after I get the Elasticsearch 7 class working.</p>
<p><b>New page</b></p><div>== tl;dr; ==<br />
<br />
The barebones of a plugin. This is intended to become a developer reference.<br />
<br />
== How to get your plugin seen by the system ==<br />
<br />
The Plugin will either live in the <code>htdocs</code> directory, for a stand alone plugin, or the directory of the plugin that it extends.<br />
<br />
The following conditions and methods need to be implemented by your Plugin.<br />
<br />
* Your plugin needs to extend the <code>Plugin</code> abstract class.<br />
* <code>get_plugintype_name()</code> : machine readable name for the type of Plugin. Allows for plugins to be extensible and grouped.<br />
* <code>get_plugin_display_name()</code> : Optional human readable name for your Plugin.</div>Gold