[dev] prefix display

Chuck Hagenbuch chuck@horde.org
Mon, 13 Nov 2000 17:39:56 -0500


Quoting Anil Madhavapeddy <anil@recoil.org>:

> Well, it does complicate the return value a lot though; if you
> have to return an array of objects instead of a single one,
> the code would not look as nice.
> 
> e.g. to use it if it only accepted one object:
> 
> foreach ($folder_list as $folder) {
>    $ret = IMP_folder::delete($folder, ...);
>    <process ret object>
> }

True enough; I'm convinced.

-chuck

--
Charles Hagenbuch, <chuck@horde.org>
"If you can't stand the heat, get out of the chicken!" - Baby Blues