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

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

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

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

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