ObjectVFS
| From: | Jon Wood | Date: | Fri, 11 Oct 2002 18:46:24 +0000 |
| Subject: | ObjectVFS | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-10022@lists.php.net to get a copy of this message | ||
Ok, I did a little work on writing an object based wrapper for the Horde_VFS class - I'm
calling it Horde_ObjectVFS for now, it takes the same parameters as the standard VFS for everything
but paths - which I've changed to be just $path, instead of $name, $path - I just think
it's less awkward that way - although if people are against it, I can always change it back.
To use it, just make a Horde_ObjectVFS::factory(...) call, instead of Horde_VFS::factory(...) -
it'll return an ObjectVFS, with the right backend driver plugged into it.
By the way, it's not very documented yet, I wanted to see what people thought of how I started
before doing much more.
Enjoy ;)
Jon