public function parseQuery($query, $fulltext = true)
    {
        $words = $this->splitString($query);

        if ($fulltext) {
            $words = $this->addWildcards($words);
        }

        return $words;
    }
public function parseQuery($query, $fulltext = true)
    {
        $words = $this->splitString($query);

        if ($fulltext) {
            $words = $this->addWildcards($words);
        }

        return $words;
    }
public function parseQuery ( $ query , $ fulltext = true ) { $ words = $ this -> splitString ( $ query ) ; if ( $ fulltext ) { $ words = $ this -> addWildcards ( $ words ) ; } return $ words ; }
Parse query string into separate words with wildcards if applicable.

@param  string  $query
@param  boolean $fulltext
@return array
Parse query string into separate words with wildcards if applicable .