Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F5979522
MessageBundleMetadata.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
MessageBundleMetadata.php
View Options
<?php
declare
(
strict_types
=
1
);
namespace
MediaWiki\Extension\Translate\MessageBundleTranslation
;
/**
* Represents metadata for a message bundle
* @author Abijeet Patro
* @since 2022.05
* @license GPL-2.0-or-later
*/
class
MessageBundleMetadata
{
private
?
string
$sourceLanguageCode
;
private
?
array
$priorityLanguageCodes
;
private
bool
$allowOnlyPriorityLanguages
;
private
?
string
$description
;
private
?
string
$label
;
public
function
__construct
(
?
string
$sourceLanguageCode
,
?
array
$priorityLanguageCodes
,
bool
$allowOnlyPriorityLanguages
,
?
string
$description
,
?
string
$label
)
{
$this
->
sourceLanguageCode
=
$sourceLanguageCode
;
$this
->
priorityLanguageCodes
=
$priorityLanguageCodes
;
$this
->
allowOnlyPriorityLanguages
=
$allowOnlyPriorityLanguages
;
$this
->
description
=
$description
;
$this
->
label
=
$label
;
}
public
function
getSourceLanguageCode
():
?
string
{
return
$this
->
sourceLanguageCode
;
}
public
function
getPriorityLanguages
():
?
array
{
return
$this
->
priorityLanguageCodes
;
}
public
function
areOnlyPriorityLanguagesAllowed
():
bool
{
return
$this
->
allowOnlyPriorityLanguages
;
}
public
function
getDescription
():
?
string
{
return
$this
->
description
;
}
public
function
getLabel
():
?
string
{
return
$this
->
label
;
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sat, Oct 3, 20:56 (5 d, 2 h ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
e5/26/7f912fd62c6e9ab0b676462f6f93
Default Alt Text
MessageBundleMetadata.php (1 KB)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment