Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F6066504
TranslationVariable.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
731 B
Referenced Files
None
Subscribers
None
TranslationVariable.php
View Options
<?php
declare
(
strict_types
=
1
);
namespace
MediaWiki\Extension\Translate\PageTranslation
;
/**
* This class represents one translation variable in a translation unit.
*
* @author Niklas Laxström
* @license GPL-2.0-or-later
* @since 2021.03
*/
class
TranslationVariable
{
private
string
$definition
;
private
string
$name
;
private
string
$value
;
public
function
__construct
(
string
$definition
,
string
$name
,
string
$value
)
{
$this
->
definition
=
$definition
;
$this
->
name
=
$name
;
$this
->
value
=
$value
;
}
public
function
getDefinition
():
string
{
return
$this
->
definition
;
}
public
function
getName
():
string
{
return
$this
->
name
;
}
public
function
getValue
():
string
{
return
$this
->
value
;
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Oct 5 2026, 04:49 (6 w, 7 h ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
3b/d0/7433dcc1ddcaba6013d40ad5a54b
Default Alt Text
TranslationVariable.php (731 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment