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

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

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

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

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