/**
	 * Filter the query by a related ResponsableInformation object
	 *
	 * @param     ResponsableInformation $responsableInformation  the related object to use as filter
	 * @param     string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL
	 *
	 * @return    ResponsableEleveQuery The current query, for fluid interface
	 */
	public function filterByResponsableInformation($responsableInformation, $comparison = null)
	{
		if ($responsableInformation instanceof ResponsableInformation) {
			return $this
				->addUsingAlias(ResponsableElevePeer::PERS_ID, $responsableInformation->getResponsableEleveId(), $comparison);
		} elseif ($responsableInformation instanceof PropelCollection) {
			return $this
				->useResponsableInformationQuery()
				->filterByPrimaryKeys($responsableInformation->getPrimaryKeys())
				->endUse();
		} else {
			throw new PropelException('filterByResponsableInformation() only accepts arguments of type ResponsableInformation or PropelCollection');
		}
	}