Issues

ZF-3425: Add addRow( ) & removeRow( ) methods to Zend_Db_Table_Rowset_Abstract

Issue Type: Community Driven Feature Created: 2008-06-09T20:33:53.000+0000 Last Updated: 2012-08-31T08:40:12.000+0000 Status: Open Fix version(s): Reporter: Coen Hyde (coenhyde) Assignee: Ralph Schindler (ralph) Tags: - Zend_Db_Table

Related issues: Attachments:

Description

It would be nice to have addRow and removeRow methods on rowsets so we can keep existing rowsets up to date.

Usage would be:

// Add row $rowset->addRow($row);

// Remove row $rowset->removeRow($row);

Comments

Posted by julien PAULI (doctorrock83) on 2009-04-30T14:06:53.000+0000

Care should be taken regarding "connection" of objects.

Rows and Rowsets both have a $_connected property and there should be a synchronisation between them. I suggest that only connected rows can be added to a connected rowset and vice versa.

Posted by Coen Hyde (coenhyde) on 2009-08-31T23:26:47.000+0000

Re: Julien

That make sense.

Posted by Coen Hyde (coenhyde) on 2009-08-31T23:27:49.000+0000

Re: Julien

That makes sense.

Posted by Ralph Schindler (ralph) on 2009-09-17T14:05:53.000+0000

While this is a worthwhile feature request, the ZF team will not develop this feature, but if a community member would like to pick up and develop it, they may make an assignment of it.

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