Issues

ZF-1970: Implement ArrayAccess in Zend_Db_Table_Rowset_Abstract

Issue Type: New Feature Created: 2007-09-19T17:26:08.000+0000 Last Updated: 2008-11-13T14:10:29.000+0000 Status: Resolved Fix version(s): - 1.7.0 (17/Nov/08)

Reporter: Jack Sleight (jacksleight) Assignee: Jurrien Stutterheim (norm2782) Tags: - Zend_Db_Table

Related issues: - ZF-2013

Attachments:

Description

I'm not sure if there was a reason this wasn't implemented, but if there's not could we add the ArrayAccess interface to Zend_Db_Table_Rowset_Abstract?

Comments

Posted by Jack Sleight (jacksleight) on 2007-09-19T17:35:15.000+0000

Actually perhaps this isn't required. I wanted it in order to get around a problem I was having, but I've thought of a much better solution now. Still, if there is a valid use for it it might not be a bad idea.

Posted by Darby Felton (darby) on 2007-09-20T08:13:57.000+0000

Assigning to [~bkarwin] to initiate issue review.

Posted by Darby Felton (darby) on 2007-11-07T15:21:32.000+0000

Hmm, it's tempting to agree that ArrayAccess implementation would be helpful, but I wonder if we can see some use cases and evidence of support for doing so from others? Put another way, perhaps people can tell us why they need it?

Posted by Jack Sleight (jacksleight) on 2007-11-07T16:15:16.000+0000

To be honest I don't need this in any code I'm currently working on any more. But I can certianly imagine situations where you might want to pull out one or more rows. And given that there isn't even a method to set the iterator pointer, the only way to interact with a Rowset object presently is via a loop, starting from the first row.

Hopefully others will post some specific use cases.

Posted by Justin Plock (jplock) on 2008-01-10T14:58:49.000+0000

ZF-2013 has a patch attached

Posted by Wil Sinclair (wil) on 2008-03-25T20:43:55.000+0000

Please categorize/fix as needed.

Posted by Wil Sinclair (wil) on 2008-04-18T13:11:55.000+0000

This doesn't appear to have been fixed in 1.5.0. Please update if this is not correct.

Posted by Jurrien Stutterheim (norm2782) on 2008-10-16T05:28:22.000+0000

Resolved in revision 11987

Posted by Wil Sinclair (wil) on 2008-11-13T14:10:29.000+0000

Changing issues in preparation for the 1.7.0 release.

Have you found an issue?

See the Overview section for more details.

Copyright

© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.

Contacts