[dev] Re: [cvs] commit: ingo/lib Ingo.php ingo rule.php
Mike Cochrane
mike@graftonhall.co.nz
Fri, 30 Aug 2002 12:45:00 +1200
Quoting Chuck Hagenbuch <chuck@horde.org>:
> Quoting Mike Cochrane <mike@graftonhall.co.nz>:
>
> > Yep..... at the moment it assume imp is the only app that provides this.
> > if someone else writes an app that does then will need to change that.
>
> Why/how is this assumption hardcoded?
Why: cause i'm lazy....
How: $registry->callByPackage('imp', 'folderlist');
Need to go through all the apps in registry and see if that provide folderlist
and then use it. I didn't see a function in the registry that automatically does
the looking for me.
- Mike :-)