src/xPDO/Om/xPDOQuery.php
public function isConditionalClause($string) {
        $matched= false;
        if (is_string($string)) {
            if (!static::isValidClause($string)) {
                throw new xPDOException("SQL injection attempt detected: {$string}");
            }
            foreach ($this->_operators as $operator) {
                if (strpos(strtoupper($string), $operator) !== false) {
                    $matched= true;
                    break;
                }
            }
        }
        return $matched;
    }
public function isConditionalClause($string) {
        $matched= false;
        if (is_string($string)) {
            if (!static::isValidClause($string)) {
                throw new xPDOException("SQL injection attempt detected: {$string}");
            }
            foreach ($this->_operators as $operator) {
                if (strpos(strtoupper($string), $operator) !== false) {
                    $matched= true;
                    break;
                }
            }
        }
        return $matched;
    }
public function isConditionalClause ( $ string ) { $ matched = false ; if ( is_string ( $ string ) ) { if ( ! static :: isValidClause ( $ string ) ) { throw new xPDOException ( "SQL injection attempt detected: {$string}" ) ; } foreach ( $ this -> _operators as $ operator ) { if ( strpos ( strtoupper ( $ string ) , $ operator ) !== false ) { $ matched = true ; break ; } } } return $ matched ; }
Determines if a string contains a conditional operator.

@param string $string The string to evaluate.

@throws \xPDO\xPDOException
@return boolean True if the string is a complete conditional SQL clause.
Determines if a string contains a conditional operator .