how to delete findDependentRowset result in Zend Framework

Posted by Behrang on Stack Overflow See other posts from Stack Overflow or by Behrang
Published on 2010-05-19T05:40:56Z Indexed on 2010/05/19 6:00 UTC
Read the original article Hit count: 265

Filed under:
|

I have place model & entry model that entry is parent
everything is fine but how can I delete the result row $categoryPlacements


in place model:
$entryModel = new Model_EntryModel();
$entryRow = $entryModel->find ( $entryId )->current ();
$categoryPlacements = $entryRow->findDependentRowset($this);


in this case i want to delete the $categoryPlacements result in place model
I can use categoryPlacements->toarray() and then delete but is another easy way?

© Stack Overflow or respective owner

Related posts about zend-framework

Related posts about zend-db