joinLeft( Qs_Db::getPair('Test'), 'Test.id = Result.testId', $columns ); return $this; } protected function _joinCertificate(Zend_Db_Select $select, array $columns = ['*']) { $select->joinLeft( Qs_Db::getPair('Certificate'), 'Certificate.id = ResultAttempt.certificateId', $columns ); return $this; } protected function _joinUser(Zend_Db_Select $select, array $columns = ['*']) { $select->joinLeft( Qs_Db::getPair('User'), 'User.id = Result.userId', $columns ); return $this; } }