Translate extension for MediaWiki
 
Loading...
Searching...
No Matches
MediaWiki\Extension\Translate\TranslatorSandbox\StashedTranslation Class Reference

Value object for stashed translation which you can construct. More...

Public Member Functions

 __construct (User $user, Title $title, string $value, array $metadata=null)
 
 getUser ()
 
 getTitle ()
 
 getValue ()
 
 getMetadata ()
 

Protected Attributes

 $user
 
 $title
 
 $value
 
 $metadata
 

Detailed Description

Value object for stashed translation which you can construct.

Author
Niklas Laxström @license GPL-2.0-or-later
Since
2013.06 (namespaced in 2020.11)

Definition at line 16 of file StashedTranslation.php.

Constructor & Destructor Documentation

◆ __construct()

MediaWiki\Extension\Translate\TranslatorSandbox\StashedTranslation::__construct ( User $user,
Title $title,
string $value,
array $metadata = null )

Definition at line 26 of file StashedTranslation.php.

Member Function Documentation

◆ getMetadata()

MediaWiki\Extension\Translate\TranslatorSandbox\StashedTranslation::getMetadata ( )

Definition at line 45 of file StashedTranslation.php.

◆ getTitle()

MediaWiki\Extension\Translate\TranslatorSandbox\StashedTranslation::getTitle ( )

Definition at line 37 of file StashedTranslation.php.

◆ getUser()

MediaWiki\Extension\Translate\TranslatorSandbox\StashedTranslation::getUser ( )

Definition at line 33 of file StashedTranslation.php.

◆ getValue()

MediaWiki\Extension\Translate\TranslatorSandbox\StashedTranslation::getValue ( )

Definition at line 41 of file StashedTranslation.php.

Member Data Documentation

◆ $metadata

MediaWiki\Extension\Translate\TranslatorSandbox\StashedTranslation::$metadata
protected

Definition at line 24 of file StashedTranslation.php.

◆ $title

MediaWiki\Extension\Translate\TranslatorSandbox\StashedTranslation::$title
protected

Definition at line 20 of file StashedTranslation.php.

◆ $user

MediaWiki\Extension\Translate\TranslatorSandbox\StashedTranslation::$user
protected

Definition at line 18 of file StashedTranslation.php.

◆ $value

MediaWiki\Extension\Translate\TranslatorSandbox\StashedTranslation::$value
protected

Definition at line 22 of file StashedTranslation.php.


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