Translate extension for MediaWiki
 
Loading...
Searching...
No Matches
MediaWiki\Extension\Translate\WebService\TranslationQueryResponse Class Reference

Value object that represents a HTTP(S) query response. More...

Public Member Functions

 __construct (array $data, TranslationQuery $query)
 
 getStatusCode ()
 
 getStatusMessage ()
 
 getBody ()
 
 getQuery ()
 Get the TranslationQuery that was made for this request.
 

Detailed Description

Value object that represents a HTTP(S) query response.

Author
Niklas Laxström @license GPL-2.0-or-later
Since
2015.02

Definition at line 12 of file TranslationQueryResponse.php.

Constructor & Destructor Documentation

◆ __construct()

MediaWiki\Extension\Translate\WebService\TranslationQueryResponse::__construct ( array $data,
TranslationQuery $query )

Definition at line 21 of file TranslationQueryResponse.php.

Member Function Documentation

◆ getBody()

MediaWiki\Extension\Translate\WebService\TranslationQueryResponse::getBody ( )

Definition at line 44 of file TranslationQueryResponse.php.

◆ getQuery()

MediaWiki\Extension\Translate\WebService\TranslationQueryResponse::getQuery ( )

Get the TranslationQuery that was made for this request.

Since
2017.04

Definition at line 52 of file TranslationQueryResponse.php.

◆ getStatusCode()

MediaWiki\Extension\Translate\WebService\TranslationQueryResponse::getStatusCode ( )

Definition at line 32 of file TranslationQueryResponse.php.

◆ getStatusMessage()

MediaWiki\Extension\Translate\WebService\TranslationQueryResponse::getStatusMessage ( )

Definition at line 36 of file TranslationQueryResponse.php.


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