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

Public Member Functions

 __construct (ParserOutput $parserOutput, InterlanguageLinksLookup $interlanguageLinksLookup)
 
 getRedirectTargetFor (Title $title)
 
 tryAddLanguageTargetLinksToOutput (InterlanguageLink $interlanguageLink, Title $target=null)
 

Detailed Description

GNU GPL v2+

Since
1.0
Author
mwjames

Constructor & Destructor Documentation

SIL\SiteLanguageLinksParserOutputAppender::__construct ( ParserOutput  $parserOutput,
InterlanguageLinksLookup  $interlanguageLinksLookup 
)
Since
1.0
Parameters
ParserOutput$parserOutput
InterlanguageLinksLookup$interlanguageLinksLookup

Member Function Documentation

SIL\SiteLanguageLinksParserOutputAppender::getRedirectTargetFor ( Title  $title)
Since
1.0
Parameters
Title$target
Returns
Title
SIL\SiteLanguageLinksParserOutputAppender::tryAddLanguageTargetLinksToOutput ( InterlanguageLink  $interlanguageLink,
Title  $target = null 
)
Since
1.0
Parameters
InterlanguageLink$interlanguageLink
Title | null$target
Returns
string

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