how to delete findDependentRowset result in Zend Framework
- by Behrang
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?