I have an array of words.
$terms = array('bars', 'bar', 'fun');
I am trying to find all records that contain each word.
TableName::model()->findAll('name LIKE :name, array(':name'=>implode(',', $terms)));
Not sure the right way to find all within the array.