Web forum is in read-only mode. Login as active registered customer for write access
  Forum Search   New Posts New Posts

Duplicate Plugin Types

 Post Reply Post Reply
Author
Gordon Niessen View Drop Down
New Member
New Member
Avatar

Joined: 17 Jan 2011
Posts: 3
Post Options Post Options   Quote Gordon Niessen Quote  Post ReplyReply Direct Link To This Post Topic: Duplicate Plugin Types
    Posted: 19 Jan 2011 at 6:33pm
I am using version 6.05 in D7.

If my application is to support a couple of different types of plugins (Reports, Interface, etc.), should I be creating a descendant of the plugin manager for each type?  Or can I just use one TupfPluginManager and check each if it supports the interfaces if each type?

I want to make sure that I do not get two plugins of the Interface type loaded.  And I am not getting an event call to the unregister when a package is unloaded.  Shouldn't I?  When a plugin is loaded it also triggers the RegisterPlugin event.  But no unregister when it is unloaded by the framework setup by the Wizard.  I am able to code an unregister, but would have expected it to be part of the template.  Also it looks like it is called after the unload. 

And is there method of preventing duplicate loads of the same plugins?  Other then disabling the load after it is called once?
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down