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
f9b53c6b
Commit
f9b53c6b
authored
May 11, 2010
by
Roman S. Borschel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed #DDC-580
Conflicts: lib/Doctrine/ORM/Mapping/Driver/XmlDriver.php
parent
f619a15a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
47 additions
and
46 deletions
+47
-46
XmlDriver.php
lib/Doctrine/ORM/Mapping/Driver/XmlDriver.php
+47
-46
No files found.
lib/Doctrine/ORM/Mapping/Driver/XmlDriver.php
View file @
f9b53c6b
...
...
@@ -66,6 +66,7 @@ class XmlDriver extends AbstractFileDriver
if
(
isset
(
$xmlRoot
[
'table'
]))
{
$table
[
'name'
]
=
(
string
)
$xmlRoot
[
'table'
];
}
$metadata
->
setPrimaryTable
(
$table
);
/* not implemented specially anyway. use table = schema.table
...
...
@@ -474,7 +475,7 @@ class XmlDriver extends AbstractFileDriver
$result
[
$entityName
]
=
$entityElement
;
}
}
else
if
(
isset
(
$xmlElement
->
{
'mapped-superclass'
}))
{
foreach
(
$xmlElement
->
{
'mapped-superclass'
}
as
$mappe
r
SuperClass
)
{
foreach
(
$xmlElement
->
{
'mapped-superclass'
}
as
$mappe
d
SuperClass
)
{
$className
=
(
string
)
$mappedSuperClass
[
'name'
];
$result
[
$className
]
=
$mappedSuperClass
;
}
...
...
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