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

Public Member Functions

 __construct (TextSanitizer $textSanitizer, SearchTable $searchTable)
 
 isEnabled ()
 
 getTableName ()
 
 hasMinTokenLength ($value)
 
 isExemptedProperty (DIProperty $property)
 
 getSortIndexField ($temporaryTable= '')
 
 canApplyFulltextSearchMatchCondition (ValueDescription $description)
 
 getWhereCondition (ValueDescription $description, $temporaryTable= '')
 

Protected Member Functions

 getMatchableTextFromDescription (ValueDescription $description)
 

Protected Attributes

 $textSanitizer
 
 $searchTable
 

Detailed Description

GNU GPL v2+

Since
2.5
Author
mwjames

Constructor & Destructor Documentation

SMW\SQLStore\QueryEngine\Fulltext\ValueMatchConditionBuilder::__construct ( TextSanitizer  $textSanitizer,
SearchTable  $searchTable 
)
Since
2.5
Parameters
TextSanitizer$textSanitizer
SearchTable$searchTable

Member Function Documentation

SMW\SQLStore\QueryEngine\Fulltext\ValueMatchConditionBuilder::canApplyFulltextSearchMatchCondition ( ValueDescription  $description)
Since
2.5
Parameters
ValueDescription$description
Returns
boolean
SMW\SQLStore\QueryEngine\Fulltext\ValueMatchConditionBuilder::getMatchableTextFromDescription ( ValueDescription  $description)
protected
SMW\SQLStore\QueryEngine\Fulltext\ValueMatchConditionBuilder::getSortIndexField (   $temporaryTable = '')
Since
2.5
Parameters
string$temporaryTable
Returns
string
SMW\SQLStore\QueryEngine\Fulltext\ValueMatchConditionBuilder::getTableName ( )
Since
2.5
Returns
string
SMW\SQLStore\QueryEngine\Fulltext\ValueMatchConditionBuilder::getWhereCondition ( ValueDescription  $description,
  $temporaryTable = '' 
)
Since
2.5
Parameters
ValueDescription$description
string$temporaryTable
Returns
string
SMW\SQLStore\QueryEngine\Fulltext\ValueMatchConditionBuilder::hasMinTokenLength (   $value)
Since
2.5
Parameters
string$value
Returns
boolean
SMW\SQLStore\QueryEngine\Fulltext\ValueMatchConditionBuilder::isEnabled ( )
Since
2.5
Returns
boolean
SMW\SQLStore\QueryEngine\Fulltext\ValueMatchConditionBuilder::isExemptedProperty ( DIProperty  $property)
Since
2.5
Parameters
string$property
Returns
boolean

Member Data Documentation

SMW\SQLStore\QueryEngine\Fulltext\ValueMatchConditionBuilder::$searchTable
protected
SMW\SQLStore\QueryEngine\Fulltext\ValueMatchConditionBuilder::$textSanitizer
protected

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