src/Budkit/Datastore/Activerecord.php
final public function hasOperator($string)
    {
        $string = trim($string);
        //echo $string;
        $matches = array();
        if (!preg_match("/(\<|>|!|=|is null|BETWEEN|is not null)/i", $string, $matches)) {
            return FALSE;
        }
        return TRUE;
    }
final public function hasOperator($string)
    {
        $string = trim($string);
        //echo $string;
        $matches = array();
        if (!preg_match("/(\<|>|!|=|is null|BETWEEN|is not null)/i", $string, $matches)) {
            return FALSE;
        }
        return TRUE;
    }
final public function hasOperator ( $ string ) { $ string = trim ( $ string ) ; //echo $string; $ matches = array ( ) ; if ( ! preg_match ( "/(\<|>|!|=|is null|BETWEEN|is not null)/i" , $ string , $ matches ) ) { return FALSE ; } return TRUE ; }
Searches for a standard MySQL operator in a specified string

@access private
@param string $string
@return boolean true if found or FALSE if not found
Searches for a standard MySQL operator in a specified string