Esempio n. 1
0
 /**
  * Exclude object from result
  *
  * @param   ChildGamePlatforms $gamePlatforms Object to remove from the list of results
  *
  * @return $this|ChildGamePlatformsQuery The current query, for fluid interface
  */
 public function prune($gamePlatforms = null)
 {
     if ($gamePlatforms) {
         $this->addCond('pruneCond0', $this->getAliasedColName(GamePlatformsTableMap::COL_GAME_ID), $gamePlatforms->getGameId(), Criteria::NOT_EQUAL);
         $this->addCond('pruneCond1', $this->getAliasedColName(GamePlatformsTableMap::COL_PLATFORM_ID), $gamePlatforms->getPlatformId(), Criteria::NOT_EQUAL);
         $this->combine(array('pruneCond0', 'pruneCond1'), Criteria::LOGICAL_OR);
     }
     return $this;
 }