src/Alchemy/Component/Cerberus/Model/Base/LogQuery.php
public function filterByLogText($logText = null, $comparison = null)
    {
        if (null === $comparison) {
            if (is_array($logText)) {
                $comparison = Criteria::IN;
            } elseif (preg_match('/[\%\*]/', $logText)) {
                $logText = str_replace('*', '%', $logText);
                $comparison = Criteria::LIKE;
            }
        }

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

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

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

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