Wikibase
MediaWiki Wikibase extension
Loading...
Searching...
No Matches
Wikibase\Repo\Specials\SpecialPageCopyrightView Class Reference

Public Member Functions

 __construct (CopyrightMessageBuilder $messageBuilder, $rightsUrl, $rightsText)
 
 getHtml (Language $language, $saveMessageKey)
 

Private Member Functions

 getCopyrightMessage (Language $language, $saveMessageKey)
 
 render (Message $copyrightMessage, Language $language)
 
 wrapMessage ( $renderedMessage)
 

Private Attributes

 $messageBuilder
 
 $rightsUrl
 
 $rightsText
 

Detailed Description

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

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Repo\Specials\SpecialPageCopyrightView::__construct ( CopyrightMessageBuilder  $messageBuilder,
  $rightsUrl,
  $rightsText 
)
Parameters
CopyrightMessageBuilder$messageBuilder
string$rightsUrl
string$rightsText

Member Function Documentation

◆ getCopyrightMessage()

Wikibase\Repo\Specials\SpecialPageCopyrightView::getCopyrightMessage ( Language  $language,
  $saveMessageKey 
)
private
Parameters
Language$language
string$saveMessageKey
Returns
Message

◆ getHtml()

Wikibase\Repo\Specials\SpecialPageCopyrightView::getHtml ( Language  $language,
  $saveMessageKey 
)
Parameters
Language$language
string$saveMessageKey
Returns
string

◆ render()

Wikibase\Repo\Specials\SpecialPageCopyrightView::render ( Message  $copyrightMessage,
Language  $language 
)
private
Parameters
Message$copyrightMessage
Language$language
Returns
string

◆ wrapMessage()

Wikibase\Repo\Specials\SpecialPageCopyrightView::wrapMessage (   $renderedMessage)
private
Parameters
string$renderedMessage
Returns
string

Member Data Documentation

◆ $messageBuilder

Wikibase\Repo\Specials\SpecialPageCopyrightView::$messageBuilder
private

◆ $rightsText

Wikibase\Repo\Specials\SpecialPageCopyrightView::$rightsText
private

◆ $rightsUrl

Wikibase\Repo\Specials\SpecialPageCopyrightView::$rightsUrl
private

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