#1544: Doctrine::loadModels() change returned models in aggressive versus
conservative mode
------------------------------+---------------------------------------------
Reporter: piccoloprincipe | Owner: jwage
Type: defect | Status: closed
Priority: major | Milestone:
Component: Import/Export | Version: 1.0.2
Resolution: invalid | Keywords: loadModels, export, aggressive
Has_test: 0 | Mystatus: Pending Core Response
Has_patch: 0 |
------------------------------+---------------------------------------------
Comment (by piccoloprincipe):
No argue on that. Just tell Doctrine_Cli that uses
Doctrine::generateSqlFromModels() that use this function in
Doctrine_Export:
{{{
public function exportSql($directory = null)
{
if ($directory !== null) {
$models =
Doctrine::filterInvalidModels(Doctrine::loadModels($directory));
} else {
$models = Doctrine::getLoadedModels();
}
return $this->exportSortedClassesSql($models, false);
}
}}}
to use this solution.
--
Ticket URL: <http://trac.doctrine-project.org/ticket/1544#comment:2>
Doctrine <http://www.phpdoctrine.org>
PHP Doctrine Object Relational Mapper
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"doctrine-svn" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.co.uk/group/doctrine-svn?hl=en-GB
-~----------~----~----~----~------~----~------~--~---