ZF-5874: $db->select()->join using Zend_Db_Table and $_referenceMap

Description

For me it's looks somehow crazy that you select Rowset via $referenceMap (->findReporter(), ->findEngineer(), ->findVerifier()), but can't build an Join Statement with them.

We need to write: $db->select() ->from(new Bugs()) ->join('accounts', 'accounts.account_name = bugs.reported_by') ->join('accounts', 'accounts.account_name = bugs.assigned_to') ->join('accounts', 'accounts.account_name = bugs.verified_by');

instead of just

$db->select() ->from(new Bugs()) ->join(new Accounts());

Comments

Bulk change of all issues last updated before 1st January 2010 as "Won't Fix".

Feel free to re-open and provide a patch if you want to fix this issue.