MediaWiki
REL1_24
|
Variant of the Message class. More...
Public Member Functions | |
__construct ($text, $params=array()) | |
Call the parent constructor, then store the key as the message. | |
fetchMessage () | |
Fetch the message (in this case, the key). |
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.
Definition at line 1058 of file Message.php.
RawMessage::__construct | ( | $ | text, |
$ | params = array() |
||
) |
Call the parent constructor, then store the key as the message.
string | $text | Message to use. |
array | $params | Parameters for the message. |
InvalidArgumentException |
Definition at line 1071 of file Message.php.
Fetch the message (in this case, the key).
Reimplemented from Message.
Definition at line 1087 of file Message.php.