ZF-3425: Add addRow( ) & removeRow( ) methods to Zend_Db_Table_Rowset_Abstract
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.