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

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

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

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

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