protected function notifyItems($method)
{
if (!in_array($method, array('beginTransaction', 'commitTransaction', 'rollbackTransaction'))) {
throw new InvalidArgumentException("Unknown notification method '{$method}'");
}
// Notify the loaded nodes
foreach ($this->objectsByPath['Node'] as $node) {
$node->{$method}();
}
// Notify the deleted nodes
foreach ($this->nodesRemove as $op) {
$op->node->{$method}();
}
// Notify the deleted properties
foreach ($this->propertiesRemove as $op) {
$op->property->{$method}();
}
}