#1390: Doctrine::getTable('table')->find(2) works different than $table->find(2)
-----------------------------------+----------------------------------------
Reporter: warden | Owner: jwage
Type: defect | Status: new
Priority: minor | Milestone: Unknown
Component: Attributes | Version: 1.0
Keywords: | Has_test: 0
Mystatus: Pending Core Response | Has_patch: 0
-----------------------------------+----------------------------------------
imho those two methods should do the same:
1)
$record = new User();
$record->getTable()->find(5);
2)
$record = Doctrine::getTable('User')->find(5);
1) doesn't work, and 2) does.
--
Ticket URL: <http://trac.doctrine-project.org/ticket/1390>
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
-~----------~----~----~----~------~----~------~--~---