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

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

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