public function filterByTeamI18n($teamI18n, $comparison = null)
    {
        if ($teamI18n instanceof \Team\Model\TeamI18n) {
            return $this
                ->addUsingAlias(TeamTableMap::ID, $teamI18n->getId(), $comparison);
        } elseif ($teamI18n instanceof ObjectCollection) {
            return $this
                ->useTeamI18nQuery()
                ->filterByPrimaryKeys($teamI18n->getPrimaryKeys())
                ->endUse();
        } else {
            throw new PropelException('filterByTeamI18n() only accepts arguments of type \Team\Model\TeamI18n or Collection');
        }
    }
public function filterByTeamI18n($teamI18n, $comparison = null)
    {
        if ($teamI18n instanceof \Team\Model\TeamI18n) {
            return $this
                ->addUsingAlias(TeamTableMap::ID, $teamI18n->getId(), $comparison);
        } elseif ($teamI18n instanceof ObjectCollection) {
            return $this
                ->useTeamI18nQuery()
                ->filterByPrimaryKeys($teamI18n->getPrimaryKeys())
                ->endUse();
        } else {
            throw new PropelException('filterByTeamI18n() only accepts arguments of type \Team\Model\TeamI18n or Collection');
        }
    }
public function filterByTeamI18n ( $ teamI18n , $ comparison = null ) { if ( $ teamI18n instanceof \ Team \ Model \ TeamI18n ) { return $ this -> addUsingAlias ( TeamTableMap :: ID , $ teamI18n -> getId ( ) , $ comparison ) ; } elseif ( $ teamI18n instanceof ObjectCollection ) { return $ this -> useTeamI18nQuery ( ) -> filterByPrimaryKeys ( $ teamI18n -> getPrimaryKeys ( ) ) -> endUse ( ) ; } else { throw new PropelException ( 'filterByTeamI18n() only accepts arguments of type \Team\Model\TeamI18n or Collection' ) ; } }
Filter the query by a related \Team\Model\TeamI18n object

@param \Team\Model\TeamI18n|ObjectCollection $teamI18n  the related object to use as filter
@param string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL

@return ChildTeamQuery The current query, for fluid interface
Filter the query by a related \ Team \ Model \ TeamI18n object