Class TfSearchContent
Provides search functionality for the content module, returning mixed content objects.
Package: content
Copyright: Simon Wilkinson 2013+ (https://tuskfish.biz)
License: GNU General Public License (GPL) V2
Author: Simon Wilkinson simon@isengard.biz
Version: Release: 1.0
Since: 1.1
Var: TfValidator $validator Instance of the Tuskfish data validator class.
Var: TfDatabase $db Instance of the Tuskfish database class.
Var: TfPreference $preference Instance of the Tuskfish site preferences class.
Var: array $searchTerms Search terms provided by user.
Var: array $escapedSearchTerms XSS escaped copies of the search terms, used for display.
Var: int $limit Number of records to retrieve in a single page view.
Var: int $offset Starting point for reading records from a result set.
Var: string $operator Type of search, options are 'AND', 'OR' and 'exact'.
Located at trust_path/modules/content/class/TfSearchContent.php
Copyright: Simon Wilkinson 2013+ (https://tuskfish.biz)
License: GNU General Public License (GPL) V2
Author: Simon Wilkinson simon@isengard.biz
Version: Release: 1.0
Since: 1.1
Var: TfValidator $validator Instance of the Tuskfish data validator class.
Var: TfDatabase $db Instance of the Tuskfish database class.
Var: TfPreference $preference Instance of the Tuskfish site preferences class.
Var: array $searchTerms Search terms provided by user.
Var: array $escapedSearchTerms XSS escaped copies of the search terms, used for display.
Var: int $limit Number of records to retrieve in a single page view.
Var: int $offset Starting point for reading records from a result set.
Var: string $operator Type of search, options are 'AND', 'OR' and 'exact'.
Located at trust_path/modules/content/class/TfSearchContent.php
Methods summary
public
|
|
public
object|boolean
|
|
public
|
|
public
|
|
public
|
|
public
|
Properties summary
protected
|
$validator
|
|
protected
|
$db
|
|
protected
|
$preference
|
|
protected
|
$searchTerms
|
|
protected
|
$escapedSearchTerms
|
|
protected
|
$limit
|
|
protected
|
$offset
|
|
protected
|
$operator
|