1
0
mirror of synced 2025-01-18 22:41:43 +03:00
doctrine2/lib/Doctrine/ORM/Persisters/AbstractCollectionPersister.php

59 lines
970 B
PHP
Raw Normal View History

2008-08-16 19:40:59 +00:00
<?php
2009-01-29 17:00:44 +00:00
namespace Doctrine\ORM\Persisters;
use Doctrine\ORM\Collection;
class AbstractCollectionPersister
2008-08-16 19:40:59 +00:00
{
public function recreate(Doctrine_Collection $coll)
{
if ($coll->getRelation()->isInverseSide()) {
return;
}
//...
}
public function delete(Doctrine_Collection $coll)
{
if ($coll->getRelation()->isInverseSide()) {
return;
}
//...
}
/* collection update actions */
2009-01-29 17:00:44 +00:00
public function deleteRows(Collection $coll)
2008-08-16 19:40:59 +00:00
{
2009-01-29 17:00:44 +00:00
//$collection->getDeleteDiff();
2008-08-16 19:40:59 +00:00
}
2009-01-29 17:00:44 +00:00
public function updateRows(Collection $coll)
2008-08-16 19:40:59 +00:00
{
}
2009-01-29 17:00:44 +00:00
public function insertRows(Collection $coll)
{
//$collection->getInsertDiff();
}
protected function _getDeleteRowSql()
{
}
protected function _getUpdateRowSql()
{
}
protected function _getDeleteRowSql()
2008-08-16 19:40:59 +00:00
{
}
}