|
| __construct (HttpRequestFactory $requestFactory, $ssrServerUrl, $ssrServerTimeout, LoggerInterface $logger, StatsdDataFactoryInterface $stats) |
|
| getContent (EntityId $entityId, $revision, $language, $editLink, LanguageFallbackChain $preferredLanguages) |
| - Exceptions
-
- Parameters
-
EntityId | $entityId | |
int | $revision | |
string | $language | |
string | $editLink | |
LanguageFallbackChain | $preferredLanguages | |
- Returns
- string
|
|
- Copyright
- GPL-2.0-or-later
◆ __construct()
Wikibase\View\Termbox\Renderer\TermboxRemoteRenderer::__construct |
( |
HttpRequestFactory |
$requestFactory, |
|
|
|
$ssrServerUrl, |
|
|
|
$ssrServerTimeout, |
|
|
LoggerInterface |
$logger, |
|
|
StatsdDataFactoryInterface |
$stats |
|
) |
| |
◆ formatUrl()
Wikibase\View\Termbox\Renderer\TermboxRemoteRenderer::formatUrl |
( |
EntityId |
$entityId, |
|
|
|
$revision, |
|
|
|
$language, |
|
|
|
$editLink, |
|
|
LanguageFallbackChain |
$preferredLanguages |
|
) |
| |
|
private |
◆ getContent()
Wikibase\View\Termbox\Renderer\TermboxRemoteRenderer::getContent |
( |
EntityId |
$entityId, |
|
|
|
$revision, |
|
|
|
$language, |
|
|
|
$editLink, |
|
|
LanguageFallbackChain |
$preferredLanguages |
|
) |
| |
◆ getLanguageCodes()
Wikibase\View\Termbox\Renderer\TermboxRemoteRenderer::getLanguageCodes |
( |
LanguageFallbackChain |
$preferredLanguages | ) |
|
|
private |
◆ getRequestParams()
Wikibase\View\Termbox\Renderer\TermboxRemoteRenderer::getRequestParams |
( |
EntityId |
$entityId, |
|
|
|
$revision, |
|
|
|
$language, |
|
|
|
$editLink, |
|
|
LanguageFallbackChain |
$preferredLanguages |
|
) |
| |
|
private |
◆ reportFailureOfRequest()
Wikibase\View\Termbox\Renderer\TermboxRemoteRenderer::reportFailureOfRequest |
( |
|
$message, |
|
|
Exception |
$exception = null |
|
) |
| |
|
private |
◆ $logger
Wikibase\View\Termbox\Renderer\TermboxRemoteRenderer::$logger |
|
private |
◆ $requestFactory
Wikibase\View\Termbox\Renderer\TermboxRemoteRenderer::$requestFactory |
|
private |
◆ $ssrServerTimeout
Wikibase\View\Termbox\Renderer\TermboxRemoteRenderer::$ssrServerTimeout |
|
private |
◆ $ssrServerUrl
Wikibase\View\Termbox\Renderer\TermboxRemoteRenderer::$ssrServerUrl |
|
private |
◆ $stats
Wikibase\View\Termbox\Renderer\TermboxRemoteRenderer::$stats |
|
private |
◆ HTTP_STATUS_OK
const Wikibase\View\Termbox\Renderer\TermboxRemoteRenderer::HTTP_STATUS_OK = 200 |
The documentation for this class was generated from the following file: