Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
doctrine-dbal
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Tomáš Trávníček
doctrine-dbal
Commits
292e93de
Commit
292e93de
authored
May 28, 2009
by
romanb
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[2.0] Formatting issues.
parent
d2360791
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
EntityManager.php
lib/Doctrine/ORM/EntityManager.php
+3
-3
ClassMetadataFactory.php
lib/Doctrine/ORM/Mapping/ClassMetadataFactory.php
+2
-2
UnitOfWork.php
lib/Doctrine/ORM/UnitOfWork.php
+1
-1
No files found.
lib/Doctrine/ORM/EntityManager.php
View file @
292e93de
...
@@ -197,8 +197,8 @@ class EntityManager
...
@@ -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
...
@@ -409,7 +409,7 @@ class EntityManager
*/
*/
public
function
refresh
(
$entity
)
public
function
refresh
(
$entity
)
{
{
$this
->
_errorIfClosed
();
$this
->
_errorIfClosed
();
throw
DoctrineException
::
notImplemented
();
throw
DoctrineException
::
notImplemented
();
}
}
...
...
lib/Doctrine/ORM/Mapping/ClassMetadataFactory.php
View file @
292e93de
...
@@ -246,7 +246,7 @@ class ClassMetadataFactory
...
@@ -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
...
@@ -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
];
...
...
lib/Doctrine/ORM/UnitOfWork.php
View file @
292e93de
...
@@ -1517,7 +1517,7 @@ class UnitOfWork implements PropertyChangedListener
...
@@ -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 */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment