/**
	 * Filter the query by a related AbsenceEleveSaisieVersion object
	 *
	 * @param     AbsenceEleveSaisieVersion $absenceEleveSaisieVersion  the related object to use as filter
	 * @param     string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL
	 *
	 * @return    AbsenceEleveSaisieQuery The current query, for fluid interface
	 */
	public function filterByAbsenceEleveSaisieVersion($absenceEleveSaisieVersion, $comparison = null)
	{
		if ($absenceEleveSaisieVersion instanceof AbsenceEleveSaisieVersion) {
			return $this
				->addUsingAlias(AbsenceEleveSaisiePeer::ID, $absenceEleveSaisieVersion->getId(), $comparison);
		} elseif ($absenceEleveSaisieVersion instanceof PropelCollection) {
			return $this
				->useAbsenceEleveSaisieVersionQuery()
				->filterByPrimaryKeys($absenceEleveSaisieVersion->getPrimaryKeys())
				->endUse();
		} else {
			throw new PropelException('filterByAbsenceEleveSaisieVersion() only accepts arguments of type AbsenceEleveSaisieVersion or PropelCollection');
		}
	}