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

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

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

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

@param     string $chapo 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 ChildPersonImageI18nQuery The current query, for fluid interface
Filter the query on the chapo column