Class term

Description

The search term class Something to contain a search term. A search term is basically a string of one or more words to match, together with the operator to apply with the match.

Located in /search-defs.php (line 69)


	
			
Variable Summary
 mixed $id
 mixed $operator
 mixed $text
 mixed $valid
Method Summary
 term term ([string $text = ""], [integer $op = ""], [string $id = ""])
Variables
mixed $id (line 75)

ID field provided for optional application use

mixed $operator (line 73)

Join operator, one of: 'AND', 'OR', 'NOT', 'AND NOT'

mixed $text (line 71)

The text of this search term

mixed $valid (line 77)

True if this term is deemed valid

Methods
Constructor term (line 86)

Constructor Create a new search term.

term term ([string $text = ""], [integer $op = ""], [string $id = ""])
  • string $text: Search term text.
  • integer $op: Search operator 'and', 'or', 'and not'.
  • string $id: A unique ID to associate with this search term

Documentation generated by phpDocumentor 1.3.0RC3