1
0
mirror of synced 2025-01-18 22:41:43 +03:00

[2.0] Give public access to the computed collection deletions and updates for possible use with the onFlush event.

This commit is contained in:
beberlei 2010-03-13 09:19:12 +00:00
parent 2482773b03
commit f3f72edb45

View File

@ -2103,4 +2103,24 @@ class UnitOfWork implements PropertyChangedListener
{
return $this->_entityDeletions;
}
/**
* Get the currently scheduled complete collection deletions
*
* @return array
*/
public function getScheduledCollectionDeletions()
{
return $this->_collectionDeletions;
}
/**
* Gets the currently scheduled collection inserts, updates and deletes.
*
* @return array
*/
public function getScheduledCollectionUpdates()
{
return $this->_collectionUpdates;
}
}