Semantic MediaWiki and related extensions
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
SMW\SQLStore\QueryEngine\Fulltext\ValueMatchConditionBuilder Class Reference
Inheritance diagram for SMW\SQLStore\QueryEngine\Fulltext\ValueMatchConditionBuilder:
Inheritance graph
[legend]

Public Member Functions

 __construct (TextSanitizer $textSanitizer, SearchTable $searchTable)
 
 isEnabled ()
 
 getTableName ()
 
 hasMinTokenLength ( $value)
 
 isExemptedProperty (DIProperty $property)
 
 getSortIndexField ( $temporaryTable='')
 
 canHaveMatchCondition (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

◆ __construct()

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

Member Function Documentation

◆ canHaveMatchCondition()

SMW\SQLStore\QueryEngine\Fulltext\ValueMatchConditionBuilder::canHaveMatchCondition ( ValueDescription  $description)
Since
2.5
Parameters
ValueDescription$description
Returns
boolean

◆ getSortIndexField()

SMW\SQLStore\QueryEngine\Fulltext\ValueMatchConditionBuilder::getSortIndexField (   $temporaryTable = '')
Since
2.5
Parameters
string$temporaryTable
Returns
string

◆ getTableName()

SMW\SQLStore\QueryEngine\Fulltext\ValueMatchConditionBuilder::getTableName ( )
Since
2.5
Returns
string

◆ getWhereCondition()

SMW\SQLStore\QueryEngine\Fulltext\ValueMatchConditionBuilder::getWhereCondition ( ValueDescription  $description,
  $temporaryTable = '' 
)
Since
2.5
Parameters
ValueDescription$description
string$temporaryTable
Returns
string

◆ hasMinTokenLength()

SMW\SQLStore\QueryEngine\Fulltext\ValueMatchConditionBuilder::hasMinTokenLength (   $value)
Since
2.5
Parameters
string$value
Returns
boolean

◆ isEnabled()

SMW\SQLStore\QueryEngine\Fulltext\ValueMatchConditionBuilder::isEnabled ( )
Since
2.5
Returns
boolean

◆ isExemptedProperty()

SMW\SQLStore\QueryEngine\Fulltext\ValueMatchConditionBuilder::isExemptedProperty ( DIProperty  $property)
Since
2.5
Parameters
string$property
Returns
boolean

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

About | General disclaimer | Privacy policy