Semantic MediaWiki and related extensions
Public Member Functions | List of all members
SMW\SQLStore\QueryEngine\Fulltext\TextSanitizer Class Reference

Public Member Functions

 __construct (SanitizerFactory $sanitizerFactory)
 
 getVersions ()
 
 setLanguageDetection (array $languageDetection)
 
 setMinTokenSize ($minTokenSize)
 
 sanitize ($text, $isSearchTerm=false)
 

Detailed Description

GNU GPL v2+

Since
2.5
Author
mwjames

Constructor & Destructor Documentation

SMW\SQLStore\QueryEngine\Fulltext\TextSanitizer::__construct ( SanitizerFactory  $sanitizerFactory)
Since
2.5
Parameters
SanitizerFactory$sanitizerFactory

Member Function Documentation

SMW\SQLStore\QueryEngine\Fulltext\TextSanitizer::getVersions ( )
Since
2.5
Returns
array
SMW\SQLStore\QueryEngine\Fulltext\TextSanitizer::sanitize (   $text,
  $isSearchTerm = false 
)
Since
2.5
Parameters
string$text
boolean$isSearchTerm
Returns
string
SMW\SQLStore\QueryEngine\Fulltext\TextSanitizer::setLanguageDetection ( array  $languageDetection)
Since
2.5
Parameters
array$languageDetection
SMW\SQLStore\QueryEngine\Fulltext\TextSanitizer::setMinTokenSize (   $minTokenSize)
Since
2.5
Parameters
integer$minTokenSize

The documentation for this class was generated from the following file: