-- digitalus_media <[EMAIL PROTECTED]> wrote
(on Wednesday, 05 December 2007, 12:22 PM -0800):
> 
> i am starting to work on a list api that is modeled after the .net one.  it
> is a super simple class that enables you to create list objects that contain
> any number of items / nested lists that can be any type of data.  the data
> is managed as stdClasses. the class has a method, toString which serializes
> the data object.  you can pass this string to the constructor, and it will
> wake the object up.
> 
> has anyone else done any work on anything similar or have any input?

You may want to check out ArrayObject in the SPL; other than the
__toString() implementation (which you could add by extending
ArrayObject), it has everything you mention already.

-- 
Matthew Weier O'Phinney
PHP Developer            | [EMAIL PROTECTED]
Zend - The PHP Company   | http://www.zend.com/

Reply via email to