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

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

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

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

@param     string $howpublished 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 howpublished column