Last active
August 29, 2015 14:04
-
-
Save markbalt/9ad545162c78a442fdd6 to your computer and use it in GitHub Desktop.
Propel OR
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$crit0 = $c->getNewCriterion(TicketRelatedPeer::A_ID, $id); | |
$crit1 = $c->getNewCriterion(TicketRelatedPeer::B_ID, $id); | |
$crit0->addOr($crit1); | |
$c->add($crit0); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment