Re: Fun with Streams

From: Date: Wed, 24 Feb 2010 14:51:53 +0000
Subject: Re: Fun with Streams
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-302348@lists.php.net to get a copy of this message
Basically... I built the stream encapsulation to do two things for me: 1. Keep track of the row I was on. 2. Keep track of the columns by name. So if I wrote columns Foo, Bar, Baz one time and Foo, Baz the next it would automatically keep the Baz in column three the second time. In other words, it makes it simple to just dump row after row of data into it for exports and simple reports. Matt On Mon, Feb 22, 2010 at 4:14 AM, Rene Veerman <rene7705@gmail.com> wrote: > just curious, why did you choose to use it from behind a stream wrapper? > > On Sun, Feb 21, 2010 at 11:03 PM, Matt Neimeyer <matt@neimeyer.org> wrote: >> I created a stream wrapper around the php_writeexcel library found at >> >> http://www.bettina-attack.de/jonny/view.php/projects/php_writeexcel/

« previous php.general (#302348) next »