[2.0] Formatting issues.
This commit is contained in:
parent
d23607910b
commit
292e93ded4
@ -197,8 +197,8 @@ class EntityManager
|
|||||||
*/
|
*/
|
||||||
public function rollback()
|
public function rollback()
|
||||||
{
|
{
|
||||||
$this->_conn->rollback();
|
$this->_conn->rollback();
|
||||||
$this->close();
|
$this->close();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -409,7 +409,7 @@ class EntityManager
|
|||||||
*/
|
*/
|
||||||
public function refresh($entity)
|
public function refresh($entity)
|
||||||
{
|
{
|
||||||
$this->_errorIfClosed();
|
$this->_errorIfClosed();
|
||||||
throw DoctrineException::notImplemented();
|
throw DoctrineException::notImplemented();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -246,7 +246,7 @@ class ClassMetadataFactory
|
|||||||
// Generate INSERT SQL
|
// Generate INSERT SQL
|
||||||
$columns = $values = array();
|
$columns = $values = array();
|
||||||
if ($class->inheritanceType == ClassMetadata::INHERITANCE_TYPE_JOINED) {
|
if ($class->inheritanceType == ClassMetadata::INHERITANCE_TYPE_JOINED) {
|
||||||
// Generate INSERT SQL for inheritance type JOINED
|
// Generate INSERT SQL for inheritance type JOINED
|
||||||
foreach ($class->reflFields as $name => $field) {
|
foreach ($class->reflFields as $name => $field) {
|
||||||
if (isset($class->fieldMappings[$name]['inherited']) && ! isset($class->fieldMappings[$name]['id'])
|
if (isset($class->fieldMappings[$name]['inherited']) && ! isset($class->fieldMappings[$name]['id'])
|
||||||
|| isset($class->inheritedAssociationFields[$name])) {
|
|| isset($class->inheritedAssociationFields[$name])) {
|
||||||
@ -267,7 +267,7 @@ class ClassMetadataFactory
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
// Generate INSERT SQL for inheritance types NONE, SINGLE_TABLE, TABLE_PER_CLASS
|
// Generate INSERT SQL for inheritance types NONE, SINGLE_TABLE, TABLE_PER_CLASS
|
||||||
foreach ($class->reflFields as $name => $field) {
|
foreach ($class->reflFields as $name => $field) {
|
||||||
if (isset($class->associationMappings[$name])) {
|
if (isset($class->associationMappings[$name])) {
|
||||||
$assoc = $class->associationMappings[$name];
|
$assoc = $class->associationMappings[$name];
|
||||||
|
@ -1517,7 +1517,7 @@ class UnitOfWork implements PropertyChangedListener
|
|||||||
*/
|
*/
|
||||||
public function clearEntityChangeSet($oid)
|
public function clearEntityChangeSet($oid)
|
||||||
{
|
{
|
||||||
unset($this->_entityChangeSets[$oid]);
|
unset($this->_entityChangeSets[$oid]);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* PropertyChangedListener implementation */
|
/* PropertyChangedListener implementation */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user