Insertable is a string that usually does not need translation and is difficult to type manually.
More...
Insertable is a string that usually does not need translation and is difficult to type manually.
- Author
- Niklas Laxström @license GPL-2.0-or-later
- Since
- 2020.12
Definition at line 13 of file Insertable.php.
◆ __construct()
MediaWiki\Extension\Translate\TranslatorInterface\Insertable\Insertable::__construct |
( |
string | $display, |
|
|
string | $pre = '', |
|
|
string | $post = '' ) |
- Parameters
-
string | $display | What to show to the user |
string | $pre | What to insert before selection, or replace selection if $post remains empty |
string | $post | What to insert after selection. If it is not given, $pre will replace selection. |
Definition at line 31 of file Insertable.php.
◆ getDisplayText()
MediaWiki\Extension\Translate\TranslatorInterface\Insertable\Insertable::getDisplayText |
( |
| ) |
|
◆ getPostText()
MediaWiki\Extension\Translate\TranslatorInterface\Insertable\Insertable::getPostText |
( |
| ) |
|
◆ getPreText()
MediaWiki\Extension\Translate\TranslatorInterface\Insertable\Insertable::getPreText |
( |
| ) |
|
◆ $display
MediaWiki\Extension\Translate\TranslatorInterface\Insertable\Insertable::$display |
|
protected |
◆ $post
MediaWiki\Extension\Translate\TranslatorInterface\Insertable\Insertable::$post |
|
protected |
◆ $pre
MediaWiki\Extension\Translate\TranslatorInterface\Insertable\Insertable::$pre |
|
protected |
The documentation for this class was generated from the following file: