src/model/Base/ReferenceQuery.php
public function filterByEdition($edition = null, $comparison = null)
    {
        if (null === $comparison) {
            if (is_array($edition)) {
                $comparison = Criteria::IN;
            } elseif (preg_match('/[\%\*]/', $edition)) {
                $edition = str_replace('*', '%', $edition);
                $comparison = Criteria::LIKE;
            }
        }

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

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

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

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