[dev] Allow Util::bufferOutput() to accept static methods?

Michael Rubinsky mike at theupstairsroom.com
Sun Nov 12 21:57:10 PST 2006


Quoting Jan Schneider <jan at horde.org>:

> Zitat von Michael Rubinsky <mike at theupstairsroom.com>:
>
>> Needed the ability to buffer output (image generation) from within  
>> a  class (a horde block, actually).  Instead of doing the  
>> ob_start()...  stuff myself, would it be feasable to patch  
>> Util::bufferOutput() like  the attached patch or am I missing some  
>> really obvious problem with  this approach?
>
> Yes, the fact that it is already possible:  
> Util::bufferOutput(array('Foo', 'bar'))

Ouch.  I'll be kicking myself in the butt now...bad Michael, bad Michael :)



Thanks,
mike

--
The Horde Project (www.horde.org)
mrubinsk at horde.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-keys
Size: 2013 bytes
Desc: PGP Public Key
Url : http://lists.horde.org/archives/dev/attachments/20061112/df0cd764/attachment.bin


More information about the dev mailing list