How to register plugin as a component?

Hello all,

Could you tell me how to register a pugin as a internal or external component ? The plugin dev guide did not tell. Thank you!

Hi foreverqihe,

The easiest thing to do is have your plugin implement the Component interface and the required methods. Take a look at the source to the search plugin, which comes along with the Wildfire source, for an example.

Hope that helps,

Ryan

Thank you !

And must my component implement the Plugin interface ?

And must my component implement the Plugin interface ?

No, not necessarily. But, it’‘s certainly the easiest way to add a component to Wildfire. The other options would be to modify the Wildfire code or create a standalone component, but then you wouldn’'t have internal access to the server.

Hope that helps,

Ryan