Translate extension for MediaWiki
 
Loading...
Searching...
No Matches
MediaWiki\Extension\Translate\MessageBundleTranslation\MessageBundleMetadata Class Reference

Represents metadata for a message bundle. More...

Public Member Functions

 __construct (?string $sourceLanguageCode, ?array $priorityLanguageCodes, bool $allowOnlyPriorityLanguages, ?string $description)
 
 getSourceLanguageCode ()
 
 getPriorityLanguages ()
 
 areOnlyPriorityLanguagesAllowed ()
 
 getDescription ()
 

Detailed Description

Represents metadata for a message bundle.

Author
Abijeet Patro
Since
2022.05 @license GPL-2.0-or-later

Definition at line 12 of file MessageBundleMetadata.php.

Constructor & Destructor Documentation

◆ __construct()

MediaWiki\Extension\Translate\MessageBundleTranslation\MessageBundleMetadata::__construct ( ?string $sourceLanguageCode,
?array $priorityLanguageCodes,
bool $allowOnlyPriorityLanguages,
?string $description )

Definition at line 22 of file MessageBundleMetadata.php.

Member Function Documentation

◆ areOnlyPriorityLanguagesAllowed()

MediaWiki\Extension\Translate\MessageBundleTranslation\MessageBundleMetadata::areOnlyPriorityLanguagesAllowed ( )

Definition at line 42 of file MessageBundleMetadata.php.

◆ getDescription()

MediaWiki\Extension\Translate\MessageBundleTranslation\MessageBundleMetadata::getDescription ( )

Definition at line 46 of file MessageBundleMetadata.php.

◆ getPriorityLanguages()

MediaWiki\Extension\Translate\MessageBundleTranslation\MessageBundleMetadata::getPriorityLanguages ( )

Definition at line 38 of file MessageBundleMetadata.php.

◆ getSourceLanguageCode()

MediaWiki\Extension\Translate\MessageBundleTranslation\MessageBundleMetadata::getSourceLanguageCode ( )

Definition at line 34 of file MessageBundleMetadata.php.


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