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

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

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

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

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