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
d5b8a6a7
Commit
d5b8a6a7
authored
Feb 19, 2008
by
jwage
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Merged r3839 from 0.10
parent
280e7d5e
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
7 deletions
+7
-7
Migration.php
lib/Doctrine/Builder/Migration.php
+2
-2
Export.php
lib/Doctrine/Export.php
+2
-2
Schema.php
lib/Doctrine/Export/Schema.php
+3
-3
No files found.
lib/Doctrine/Builder/Migration.php
View file @
d5b8a6a7
...
...
@@ -157,10 +157,10 @@ END;
{
if
(
$modelsPath
)
{
$models
=
Doctrine
::
loadModels
(
$modelsPath
);
}
else
{
$models
=
Doctrine
::
getLoadedModels
();
}
$models
=
Doctrine
::
getLoadedModels
();
$foreignKeys
=
array
();
foreach
(
$models
as
$model
)
{
...
...
lib/Doctrine/Export.php
View file @
d5b8a6a7
...
...
@@ -1047,10 +1047,10 @@ class Doctrine_Export extends Doctrine_Connection_Module
{
if
(
$directory
!==
null
)
{
$models
=
Doctrine
::
loadModels
(
$directory
);
}
else
{
$models
=
Doctrine
::
getLoadedModels
();
}
$models
=
Doctrine
::
getLoadedModels
();
$this
->
exportClasses
(
$models
);
}
...
...
lib/Doctrine/Export/Schema.php
View file @
d5b8a6a7
...
...
@@ -45,11 +45,11 @@ class Doctrine_Export_Schema
public
function
buildSchema
(
$directory
=
null
,
$models
=
array
())
{
if
(
$directory
)
{
$loadedModels
=
Doctrine
::
loadModels
(
$directory
);
}
else
{
$loadedModels
=
Doctrine
::
getLoadedModels
();
Doctrine
::
loadModels
(
$directory
);
}
$loadedModels
=
Doctrine
::
getLoadedModels
();
$array
=
array
();
$parent
=
new
ReflectionClass
(
'Doctrine_Record'
);
...
...
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