/** * Exclude object from result * * @param JEleveGroupe $jEleveGroupe Object to remove from the list of results * * @return JEleveGroupeQuery The current query, for fluid interface */ public function prune($jEleveGroupe = null) { if ($jEleveGroupe) { $this->addCond('pruneCond0', $this->getAliasedColName(JEleveGroupePeer::LOGIN), $jEleveGroupe->getLogin(), Criteria::NOT_EQUAL); $this->addCond('pruneCond1', $this->getAliasedColName(JEleveGroupePeer::ID_GROUPE), $jEleveGroupe->getIdGroupe(), Criteria::NOT_EQUAL); $this->addCond('pruneCond2', $this->getAliasedColName(JEleveGroupePeer::PERIODE), $jEleveGroupe->getPeriode(), Criteria::NOT_EQUAL); $this->combine(array('pruneCond0', 'pruneCond1', 'pruneCond2'), Criteria::LOGICAL_OR); } return $this; }