Creating a MS Release Plugin

To create a MS Release plugin you'll need to use the msrelease plugin group. Other plugin groups are supported, but not imported at the right moments. Either use msrelease or system to make sure they are always loaded at the right times.

A basic plugin consists of this:

    <?php
defined('_JEXEC') or die;

class plgMSReleasePluginTitle extends JPlugin {
    /**
     * Autoload the language
     * @var     String
     * @access  Protected
     */
    protected $autoloadLanguage = true;

    /**
     * onMSReleaseExtensionBeforeShow
     * @param   Object  &$ext
     * @access  Public
     * @return  Void
     */
    public function onMSReleaseExtensionBeforeShow(&$ext) {
        // Do something with the extension
    }
}