[dev] Re: [cvs] commit: ingo/lib Ingo.php ingo rule.php

Chuck Hagenbuch chuck@horde.org
Thu, 29 Aug 2002 22:12:49 -0400


Quoting Mike Cochrane <mike@graftonhall.co.nz>:

> 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.

Nope. Just do $registry->call('mail/folderlist'). It assumes that the
folderlist will be provided by a mail application, but that's a pretty
reasonable assumption.

-chuck

--
Charles Hagenbuch, <chuck@horde.org>
"After a few minutes the most aromatic and nice smelling Italian coffee 
 will come out of the exhaustpipe." - Our stove-top espresso pot