You should say this should work too....
$this->listOfMembersWhoMeetSearchCriteria = array();
$c = new Criteria();
$uvaStatusArray = $request->getParameter('uva_status');
if (!is_array($uvaStatusArray))
{
$uvaStatusArray = array();
}
$c->addOr(sfGuardUserProfilePeer::UVA_STATUS, $uvaStatusArray,
Criteria::IN);
$this->listOfMembersWhoMeetSearchCriteria =
sfGuardUserProfilePeer::doSelect($c);
Can't test it right now though...
Evert
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"symfony users" 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.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---