|
MediaWiki REL1_39
|
The MediaWiki-specific implementation of IMessageFormatterFactory. More...


Public Member Functions | ||||
| __construct (string $format=Message::FORMAT_TEXT) | ||||
| Required parameters may be added to this function without deprecation. | ||||
| getTextFormatter ( $langCode) | ||||
Get a text message formatter for a given language.
| ||||
The MediaWiki-specific implementation of IMessageFormatterFactory.
Definition at line 12 of file MessageFormatterFactory.php.
| MediaWiki\Message\MessageFormatterFactory::__construct | ( | string | $format = Message::FORMAT_TEXT | ) |
Required parameters may be added to this function without deprecation.
External callers should use MediaWikiServices::getMessageFormatterFactory().
| string | $format | which if the Message::FORMAT_* to use in the formatters. |
Definition at line 27 of file MessageFormatterFactory.php.
| MediaWiki\Message\MessageFormatterFactory::getTextFormatter | ( | $langCode | ) |
Get a text message formatter for a given language.
| string | $langCode | The language code |
Implements Wikimedia\Message\IMessageFormatterFactory.
Definition at line 34 of file MessageFormatterFactory.php.