Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Here describe how to make your Plugin actually do something. This section contains some general ideas about Plugin development.

Plugin Hooks

Code Block
public class GoogleAnalyticPlugin : HookBasePlugin
    {
        /// <summary>
        /// Install plugin
        /// </summary>
        public override void Install()
        {
            base.Install();
        }
        /// <summary>
        /// Uninstall plugin
        /// </summary>
        public override void Uninstall()
        {          
            base.Uninstall();
        }

        public override Type GetControllerType()
        {
            return typeof(Plugin.Widget.GoogleAnalytics.Controllers.GoogleAnalyticsController);
        }
    }

 

Saving Plugin Data to the Database