\PARSEPHRASE

PARSEPHRASE -- break up a search phrase into component parts such as 'exact phrase', AND, OR and NOT

Summary

Methods
Properties
Constants
__construct()
parse()
$idea
$validSearch
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$idea

$idea : 

boolean

Type

$validSearch

$validSearch : 

boolean

Type

Methods

__construct()

__construct() : 

PARSEPHRASE

Returns

parse()

parse(mixed||string|int  input,   test = FALSE,   stringSearch = FALSE,   fulltextSearch = FALSE) : 

Parse input and create SQL condition

Parameters

mixed||string|int input

$input['Word'] is the input string from the search form

test

if TRUE formats the string for the natural language section of SEARCH.php. Default is FALSE

stringSearch

if TRUE formats the string for searching attachments in SEARCH.php. Default is FALSE

fulltextSearch

if TRUE manages the use of wildcards for fulltext (attachment) searches

Returns

FALSE|string