MediaWiki  REL1_22
RawMessage Class Reference

Variant of the Message class. More...

Inheritance diagram for RawMessage:
Collaboration diagram for RawMessage:

List of all members.

Public Member Functions

 __construct ($key, $params=array())
 Call the parent constructor, then store the key as the message.
 fetchMessage ()
 Fetch the message (in this case, the key).

Detailed Description

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.

Since:
1.21

Definition at line 897 of file Message.php.


Constructor & Destructor Documentation

RawMessage::__construct ( key,
params = array() 
)

Call the parent constructor, then store the key as the message.

Parameters:
string$keyMessage to use
array$paramsParameters for the message
See also:
Message::__construct

Reimplemented from Message.

Definition at line 906 of file Message.php.


Member Function Documentation

Fetch the message (in this case, the key).

Returns:
string

Reimplemented from Message.

Definition at line 917 of file Message.php.


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