1
0
mirror of synced 2025-01-06 09:07:09 +03:00
doctrine2/lib/Doctrine/Association/OneToMany.php

28 lines
902 B
PHP
Raw Normal View History

<?php
#namespace Doctrine::ORM::Mappings;
class Doctrine_Association_OneToMany extends Doctrine_Association
{
2008-07-27 23:38:56 +04:00
/** The target foreign key columns that reference the sourceKeyColumns. */
protected $_targetForeignKeyColumns;
2008-07-27 23:38:56 +04:00
/** The (typically primary) source key columns that are referenced by the targetForeignKeyColumns. */
protected $_sourceKeyColumns;
2008-07-27 23:38:56 +04:00
/** This maps the target foreign key columns to the corresponding (primary) source key columns. */
protected $_targetForeignKeysToSourceKeys;
2008-07-27 23:38:56 +04:00
/** This maps the (primary) source key columns to the corresponding target foreign key columns. */
protected $_sourceKeysToTargetForeignKeys;
/** Whether to delete orphaned elements (removed from the collection) */
2008-07-27 23:38:56 +04:00
protected $_deleteOrphans = false;
2008-07-27 23:38:56 +04:00
public function shouldDeleteOrphans()
{
2008-07-27 23:38:56 +04:00
return $this->_deleteOrphans;
}
}
?>