/** * Exclude object from result * * @param PeriodeNote $periodeNote Object to remove from the list of results * * @return PeriodeNoteQuery The current query, for fluid interface */ public function prune($periodeNote = null) { if ($periodeNote) { $this->addCond('pruneCond0', $this->getAliasedColName(PeriodeNotePeer::NUM_PERIODE), $periodeNote->getNumPeriode(), Criteria::NOT_EQUAL); $this->addCond('pruneCond1', $this->getAliasedColName(PeriodeNotePeer::ID_CLASSE), $periodeNote->getIdClasse(), Criteria::NOT_EQUAL); $this->combine(array('pruneCond0', 'pruneCond1'), Criteria::LOGICAL_OR); } return $this; }