public function filterByValue($value = null, $comparison = null)
    {
        if (null === $comparison) {
            if (is_array($value)) {
                $comparison = Criteria::IN;
            } elseif (preg_match('/[\%\*]/', $value)) {
                $value = str_replace('*', '%', $value);
                $comparison = Criteria::LIKE;
            }
        }

        return $this->addUsingAlias(DealerContactInfoI18nTableMap::VALUE, $value, $comparison);
    }
public function filterByValue($value = null, $comparison = null)
    {
        if (null === $comparison) {
            if (is_array($value)) {
                $comparison = Criteria::IN;
            } elseif (preg_match('/[\%\*]/', $value)) {
                $value = str_replace('*', '%', $value);
                $comparison = Criteria::LIKE;
            }
        }

        return $this->addUsingAlias(DealerContactInfoI18nTableMap::VALUE, $value, $comparison);
    }
public function filterByValue ( $ value = null , $ comparison = null ) { if ( null === $ comparison ) { if ( is_array ( $ value ) ) { $ comparison = Criteria :: IN ; } elseif ( preg_match ( '/[\%\*]/' , $ value ) ) { $ value = str_replace ( '*' , '%' , $ value ) ; $ comparison = Criteria :: LIKE ; } } return $ this -> addUsingAlias ( DealerContactInfoI18nTableMap :: VALUE , $ value , $ comparison ) ; }
Filter the query on the value column

Example usage:
<code>
$query->filterByValue('fooValue');   // WHERE value = 'fooValue'
$query->filterByValue('%fooValue%'); // WHERE value LIKE '%fooValue%'
</code>

@param     string $value The value to use as filter.
Accepts wildcards (* and % trigger a LIKE)
@param     string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL

@return ChildDealerContactInfoI18nQuery The current query, for fluid interface
Filter the query on the value column