PARSEPHRASE -- break up a search phrase into component parts such as 'exact phrase', AND, OR and NOT
version | 1 |
---|---|
package | wikindx4\core\lists |
author | Mark Grimshaw |
__construct()
parse(array $input) : mixed
array
$input['Word'] is the input string from the search form
mixed
FALSE|stringcreateCondition(array $input) : string
array
string
extractExactPhrase(string $fragment, array $fragments, int $searchArrayIndex)
string
array
Reference to array
int
malformedString(string $phrase) : boolean
odd no. of " chars
string
boolean
printFragments(array $fragments)
array
removeNot_and_FilterWords()
sortFragments(array $fragments)
array
splitSpaces(string $phrase)
string
tidyFragment(string $fragment, array $fragments, int $searchArrayIndex, string $type)
string
array
Reference to array
int
string
Default is FALSE
tidySearch(string $phrase) : string
string
string
$NOTfragments
$config
$db
$session
$stringArray
$utf8