public function filterByFeatureAv($featureAv, $comparison = null)
    {
        if ($featureAv instanceof \Thelia\Model\FeatureAv) {
            return $this
                ->addUsingAlias(FeatureTypeAvMetaTableMap::FEATURE_AV_ID, $featureAv->getId(), $comparison);
        } elseif ($featureAv instanceof ObjectCollection) {
            if (null === $comparison) {
                $comparison = Criteria::IN;
            }

            return $this
                ->addUsingAlias(FeatureTypeAvMetaTableMap::FEATURE_AV_ID, $featureAv->toKeyValue('PrimaryKey', 'Id'), $comparison);
        } else {
            throw new PropelException('filterByFeatureAv() only accepts arguments of type \Thelia\Model\FeatureAv or Collection');
        }
    }
public function filterByFeatureAv($featureAv, $comparison = null)
    {
        if ($featureAv instanceof \Thelia\Model\FeatureAv) {
            return $this
                ->addUsingAlias(FeatureTypeAvMetaTableMap::FEATURE_AV_ID, $featureAv->getId(), $comparison);
        } elseif ($featureAv instanceof ObjectCollection) {
            if (null === $comparison) {
                $comparison = Criteria::IN;
            }

            return $this
                ->addUsingAlias(FeatureTypeAvMetaTableMap::FEATURE_AV_ID, $featureAv->toKeyValue('PrimaryKey', 'Id'), $comparison);
        } else {
            throw new PropelException('filterByFeatureAv() only accepts arguments of type \Thelia\Model\FeatureAv or Collection');
        }
    }
public function filterByFeatureAv ( $ featureAv , $ comparison = null ) { if ( $ featureAv instanceof \ Thelia \ Model \ FeatureAv ) { return $ this -> addUsingAlias ( FeatureTypeAvMetaTableMap :: FEATURE_AV_ID , $ featureAv -> getId ( ) , $ comparison ) ; } elseif ( $ featureAv instanceof ObjectCollection ) { if ( null === $ comparison ) { $ comparison = Criteria :: IN ; } return $ this -> addUsingAlias ( FeatureTypeAvMetaTableMap :: FEATURE_AV_ID , $ featureAv -> toKeyValue ( 'PrimaryKey' , 'Id' ) , $ comparison ) ; } else { throw new PropelException ( 'filterByFeatureAv() only accepts arguments of type \Thelia\Model\FeatureAv or Collection' ) ; } }
Filter the query by a related \Thelia\Model\FeatureAv object

@param \Thelia\Model\FeatureAv|ObjectCollection $featureAv The related object(s) to use as filter
@param string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL

@return ChildFeatureTypeAvMetaQuery The current query, for fluid interface
Filter the query by a related \ Thelia \ Model \ FeatureAv object