public function filterByClientPlatform($clientPlatform = null, $comparison = null)
    {
        if (null === $comparison) {
            if (is_array($clientPlatform)) {
                $comparison = Criteria::IN;
            } elseif (preg_match('/[\%\*]/', $clientPlatform)) {
                $clientPlatform = str_replace('*', '%', $clientPlatform);
                $comparison = Criteria::LIKE;
            }
        }

        return $this->addUsingAlias(LogTableMap::COL_CLIENT_PLATFORM, $clientPlatform, $comparison);
    }