BlueSpice MediaWiki REL1_27
|
Public Member Functions | |
__construct ($text, $params=[]) | |
fetchMessage () | |
![]() | |
__construct ($key, $params=[], Language $language=null) | |
serialize () | |
unserialize ($serialized) | |
isMultiKey () | |
getKeysToTry () | |
getKey () | |
getParams () | |
getFormat () | |
getLanguage () | |
getTitle () | |
params () | |
rawParams () | |
numParams () | |
durationParams () | |
expiryParams () | |
timeperiodParams () | |
sizeParams () | |
bitrateParams () | |
plaintextParams () | |
setContext (IContextSource $context) | |
inLanguage ($lang) | |
inContentLanguage () | |
setInterfaceMessageFlag ($interface) | |
useDatabase ($useDatabase) | |
title ($title) | |
content () | |
toString () | |
__toString () | |
parse () | |
text () | |
plain () | |
parseAsBlock () | |
escaped () | |
exists () | |
isBlank () | |
isDisabled () | |
Additional Inherited Members | |
![]() | |
static | newFromKey ($key) |
static | newFromSpecifier ($value) |
static | newFallbackSequence () |
static | rawParam ($raw) |
static | numParam ($num) |
static | durationParam ($duration) |
static | expiryParam ($expiry) |
static | timeperiodParam ($period) |
static | sizeParam ($size) |
static | bitrateParam ($bitrate) |
static | plaintextParam ($plaintext) |
![]() | |
replaceParameters ($message, $type= 'before') | |
extractParam ($param) | |
parseText ($string) | |
transformText ($string) | |
fetchMessage () | |
formatPlaintext ($plaintext) | |
![]() | |
$interface = true | |
$language = false | |
$key | |
$keysToTry | |
$parameters = [] | |
$format = 'parse' | |
$useDatabase = true | |
$title = null | |
$content = null | |
$message | |
Variant of the Message class.
Rather than treating the message key as a lookup value (which is passed to the MessageCache and translated as necessary), a RawMessage key is treated as the actual message.
All other functionality (parsing, escaping, etc.) is preserved.
RawMessage::__construct | ( | $text, | |
$params = [] |
|||
) |
Call the parent constructor, then store the key as the message.
string | $text | Message to use. |
array | $params | Parameters for the message. |
InvalidArgumentException |
RawMessage::fetchMessage | ( | ) |
Fetch the message (in this case, the key).