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);
    }