Wikibase
MediaWiki Wikibase extension
Wikibase\Lib\Interactors\TermSearchOptions Class Reference

Public Member Functions

 getLimit ()
 
 getIsCaseSensitive ()
 
 getIsPrefixSearch ()
 
 getUseLanguageFallback ()
 
 setLimit ( $limit)
 
 setIsCaseSensitive ( $caseSensitive)
 
 setIsPrefixSearch ( $prefixSearch)
 
 setUseLanguageFallback ( $useLanguageFallback)
 

Private Attributes

const HARD_LIMIT = 2500
 
 $isCaseSensitive = false
 
 $isPrefixSearch = false
 
 $useLanguageFallback = true
 
 $limit = self::HARD_LIMIT
 

Detailed Description

Author
Addshore
Katie Filbert < aude..nosp@m.wiki.nosp@m.@gmai.nosp@m.l.co.nosp@m.m >

Member Function Documentation

◆ getIsCaseSensitive()

Wikibase\Lib\Interactors\TermSearchOptions::getIsCaseSensitive ( )
Returns
bool

◆ getIsPrefixSearch()

Wikibase\Lib\Interactors\TermSearchOptions::getIsPrefixSearch ( )
Returns
bool

◆ getLimit()

Wikibase\Lib\Interactors\TermSearchOptions::getLimit ( )
Returns
int

◆ getUseLanguageFallback()

Wikibase\Lib\Interactors\TermSearchOptions::getUseLanguageFallback ( )
Returns
bool

◆ setIsCaseSensitive()

Wikibase\Lib\Interactors\TermSearchOptions::setIsCaseSensitive (   $caseSensitive)
Parameters
bool$caseSensitive

◆ setIsPrefixSearch()

Wikibase\Lib\Interactors\TermSearchOptions::setIsPrefixSearch (   $prefixSearch)
Parameters
bool$prefixSearch

◆ setLimit()

Wikibase\Lib\Interactors\TermSearchOptions::setLimit (   $limit)
Parameters
int$limitHard upper limit of 2500

◆ setUseLanguageFallback()

Wikibase\Lib\Interactors\TermSearchOptions::setUseLanguageFallback (   $useLanguageFallback)
Parameters
bool$useLanguageFallback

Member Data Documentation

◆ $isCaseSensitive

Wikibase\Lib\Interactors\TermSearchOptions::$isCaseSensitive = false
private

◆ $isPrefixSearch

Wikibase\Lib\Interactors\TermSearchOptions::$isPrefixSearch = false
private

◆ $limit

Wikibase\Lib\Interactors\TermSearchOptions::$limit = self::HARD_LIMIT
private

◆ $useLanguageFallback

Wikibase\Lib\Interactors\TermSearchOptions::$useLanguageFallback = true
private

◆ HARD_LIMIT

const Wikibase\Lib\Interactors\TermSearchOptions::HARD_LIMIT = 2500
private

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