Semantic MediaWiki and related extensions
Public Member Functions | List of all members
SIL\Search\SearchResultModifier Class Reference

Public Member Functions

 __construct (LanguageResultMatchFinder $languageResultMatchFinder)
 
 addSearchProfile (array &$profiles)
 
 addSearchProfileForm (SpecialSearch $search, $profile, &$form, $opts)
 
 addLanguageFilterToPowerBox ($request, &$showSections)
 
 createHtmlLanguageFilterSelector ($defaultLanguagefilter)
 
 applyLanguageFilterToResultMatches ($request, &$titleMatches, &$textMatches)
 

Detailed Description

GNU GPL v2+

Since
1.0
Author
mwjames

Constructor & Destructor Documentation

SIL\Search\SearchResultModifier::__construct ( LanguageResultMatchFinder  $languageResultMatchFinder)
Since
1.0
Parameters
LanguageResultMatchFinder$languageResultMatchFinder

Member Function Documentation

SIL\Search\SearchResultModifier::addLanguageFilterToPowerBox (   $request,
$showSections 
)
Since
1.0
Parameters
WebRequest$request
array&$showSections
Returns
boolean
SIL\Search\SearchResultModifier::addSearchProfile ( array &  $profiles)
Since
1.0
Parameters
array&$profiles
SIL\Search\SearchResultModifier::addSearchProfileForm ( SpecialSearch  $search,
  $profile,
$form,
  $opts 
)
Since
1.0
Parameters
SpecialSearch$search
string$profile
SIL\Search\SearchResultModifier::applyLanguageFilterToResultMatches (   $request,
$titleMatches,
$textMatches 
)
Since
1.0
Parameters
WebRequest$request
SearchResultSet | false$titleMatches
SearchResultSet | false$textMatches
Returns
boolean
SIL\Search\SearchResultModifier::createHtmlLanguageFilterSelector (   $defaultLanguagefilter)
Since
1.0
Parameters
string$defaultLanguagefilter
Returns
string

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