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

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

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

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

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