/** * Filter the query by a related AbsenceEleveSaisie object * * @param AbsenceEleveSaisie $absenceEleveSaisie the related object to use as filter * @param string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL * * @return UtilisateurProfessionnelQuery The current query, for fluid interface */ public function filterByAbsenceEleveSaisie($absenceEleveSaisie, $comparison = null) { if ($absenceEleveSaisie instanceof AbsenceEleveSaisie) { return $this ->addUsingAlias(UtilisateurProfessionnelPeer::LOGIN, $absenceEleveSaisie->getUtilisateurId(), $comparison); } elseif ($absenceEleveSaisie instanceof PropelCollection) { return $this ->useAbsenceEleveSaisieQuery() ->filterByPrimaryKeys($absenceEleveSaisie->getPrimaryKeys()) ->endUse(); } else { throw new PropelException('filterByAbsenceEleveSaisie() only accepts arguments of type AbsenceEleveSaisie or PropelCollection'); } }