Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

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

Plugin Hooks

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

  • No labels