2008-08-16 23:40:59 +04:00
|
|
|
<?php
|
|
|
|
|
2008-09-12 13:39:43 +04:00
|
|
|
class Doctrine_ORM_Persisters_AbstractCollectionPersister
|
2008-08-16 23:40:59 +04:00
|
|
|
{
|
|
|
|
|
|
|
|
public function recreate(Doctrine_Collection $coll)
|
|
|
|
{
|
|
|
|
if ($coll->getRelation()->isInverseSide()) {
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
|
|
|
|
//...
|
|
|
|
}
|
|
|
|
|
|
|
|
public function delete(Doctrine_Collection $coll)
|
|
|
|
{
|
|
|
|
if ($coll->getRelation()->isInverseSide()) {
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
|
|
|
|
//...
|
|
|
|
if ($coll->getRelation() instanceof Doctrine_Association_OneToManyMapping) {
|
|
|
|
//...
|
|
|
|
} else if ($coll->getRelation() instanceof Doctrine_Association_ManyToManyMapping) {
|
|
|
|
//...
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* collection update actions */
|
|
|
|
|
|
|
|
public function deleteRows()
|
|
|
|
{
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
public function updateRows()
|
|
|
|
{
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
public function insertRows()
|
|
|
|
{
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
?>
|