public function filterByMxmap($mxmap, $comparison = null)
    {
        if ($mxmap instanceof \eXpansion\Bundle\Maps\Model\Mxmap) {
            return $this
                ->addUsingAlias(MapTableMap::COL_MAPUID, $mxmap->getTrackuid(), $comparison);
        } elseif ($mxmap instanceof ObjectCollection) {
            return $this
                ->useMxmapQuery()
                ->filterByPrimaryKeys($mxmap->getPrimaryKeys())
                ->endUse();
        } else {
            throw new PropelException('filterByMxmap() only accepts arguments of type \eXpansion\Bundle\Maps\Model\Mxmap or Collection');
        }
    }
public function filterByMxmap($mxmap, $comparison = null)
    {
        if ($mxmap instanceof \eXpansion\Bundle\Maps\Model\Mxmap) {
            return $this
                ->addUsingAlias(MapTableMap::COL_MAPUID, $mxmap->getTrackuid(), $comparison);
        } elseif ($mxmap instanceof ObjectCollection) {
            return $this
                ->useMxmapQuery()
                ->filterByPrimaryKeys($mxmap->getPrimaryKeys())
                ->endUse();
        } else {
            throw new PropelException('filterByMxmap() only accepts arguments of type \eXpansion\Bundle\Maps\Model\Mxmap or Collection');
        }
    }
public function filterByMxmap ( $ mxmap , $ comparison = null ) { if ( $ mxmap instanceof \ eXpansion \ Bundle \ Maps \ Model \ Mxmap ) { return $ this -> addUsingAlias ( MapTableMap :: COL_MAPUID , $ mxmap -> getTrackuid ( ) , $ comparison ) ; } elseif ( $ mxmap instanceof ObjectCollection ) { return $ this -> useMxmapQuery ( ) -> filterByPrimaryKeys ( $ mxmap -> getPrimaryKeys ( ) ) -> endUse ( ) ; } else { throw new PropelException ( 'filterByMxmap() only accepts arguments of type \eXpansion\Bundle\Maps\Model\Mxmap or Collection' ) ; } }
Filter the query by a related \eXpansion\Bundle\Maps\Model\Mxmap object

@param \eXpansion\Bundle\Maps\Model\Mxmap|ObjectCollection $mxmap the related object to use as filter
@param string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL

@return ChildMapQuery The current query, for fluid interface
Filter the query by a related \ eXpansion \ Bundle \ Maps \ Model \ Mxmap object