/** * Exclude object from result * * @param AbsenceAgregationDecompte $absenceAgregationDecompte Object to remove from the list of results * * @return AbsenceAgregationDecompteQuery The current query, for fluid interface */ public function prune($absenceAgregationDecompte = null) { if ($absenceAgregationDecompte) { $this->addCond('pruneCond0', $this->getAliasedColName(AbsenceAgregationDecomptePeer::ELEVE_ID), $absenceAgregationDecompte->getEleveId(), Criteria::NOT_EQUAL); $this->addCond('pruneCond1', $this->getAliasedColName(AbsenceAgregationDecomptePeer::DATE_DEMI_JOUNEE), $absenceAgregationDecompte->getDateDemiJounee(), Criteria::NOT_EQUAL); $this->combine(array('pruneCond0', 'pruneCond1'), Criteria::LOGICAL_OR); } return $this; }