[ewiki] Re: reworked plugin hooks [init]
- From: Andy Fundinger <Andy@xxxxxxxxxxx>
- To: ewiki@xxxxxxxxxxxxx
- Date: Thu, 25 Mar 2004 05:23:28 -0500
On Thu, 2004-03-25 at 08:35, Mario Salzer wrote:
> Andy wrote:
> > subject to modification by the EWIKI_AUTO_EDIT code. This is ok but I
> > will have to move my piclogocntrl init plugin to become a self-unsetting
> > handler since it uses meta data. What was the purpose of this change?
>
> I've changed the ["handler"] call to pass a fourth parameter (should
> be ignored by other plugins) with the assigned array $index. This will
> allow ["handler"] plugins to deregister themselves easily (and saves
> us another plugin hook):
>
> unset($ewiki_plugins["handler"][$param4]):
Looks good, I updated the piclogo control to handle this internally and
it is an example plugin in any event. Now that I see what you're upto
this looks like a good course to me.
- References:
- [ewiki] new .xpi plugins, reworked plugin hooks [init] and _TEXT check
- From: Mario Salzer
- [ewiki] Re: reworked plugin hooks [init]
- From: Andy Fundinger
- [ewiki] Re: reworked plugin hooks [init]
- From: Mario Salzer
Other related posts:
- » [ewiki] Re: reworked plugin hooks [init]
- » [ewiki] Re: reworked plugin hooks [init]
- » [ewiki] Re: reworked plugin hooks [init]
- » [ewiki] Re: reworked plugin hooks [init]
- » [ewiki] Re: reworked plugin hooks [init]
- [ewiki] new .xpi plugins, reworked plugin hooks [init] and _TEXT check
- From: Mario Salzer
- [ewiki] Re: reworked plugin hooks [init]
- From: Andy Fundinger
- [ewiki] Re: reworked plugin hooks [init]
- From: Mario Salzer