public function filterByUser($user = null, $comparison = null)
    {
        if (null === $comparison) {
            if (is_array($user)) {
                $comparison = Criteria::IN;
            }
        }

        return $this->addUsingAlias(MediaTableMap::COL_USER, $user, $comparison);
    }
public function filterByUser($user = null, $comparison = null)
    {
        if (null === $comparison) {
            if (is_array($user)) {
                $comparison = Criteria::IN;
            }
        }

        return $this->addUsingAlias(MediaTableMap::COL_USER, $user, $comparison);
    }
public function filterByUser ( $ user = null , $ comparison = null ) { if ( null === $ comparison ) { if ( is_array ( $ user ) ) { $ comparison = Criteria :: IN ; } } return $ this -> addUsingAlias ( MediaTableMap :: COL_USER , $ user , $ comparison ) ; }
Filter the query on the user column

Example usage:
<code>
$query->filterByUser('fooValue');   // WHERE user = 'fooValue'
$query->filterByUser('%fooValue%', Criteria::LIKE); // WHERE user LIKE '%fooValue%'
</code>

@param     string $user The value to use as filter.
@param     string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL

@return $this|ChildMediaQuery The current query, for fluid interface
Filter the query on the user column