You can do this using DQL:
$models = Doctrine::getTable('ModelName')
->findByDql(
'field_one = ? AND (field_two = ? OR field_three = ?)',
array('cond_1','cond_2', 'cond_3')
);
Thus, models will represent Doctrine_Collection with all elements found.
source
share