Message object where you can directly set the translation. More...
Public Member Functions | |
setTranslation ( $text) | |
Set the current translation of this message. | |
translation () | |
Get the message translation. | |
Public Member Functions inherited from TMessage | |
__construct ( $key, $definition) | |
Creates new message object. | |
key () | |
Get the message key. | |
definition () | |
Get the message definition. | |
setInfile ( $text) | |
Set the committed translation. | |
infile () | |
Returns the committed translation. | |
addTag ( $tag) | |
Add a tag for this message. | |
hasTag ( $tag) | |
Check if this message has a given tag. | |
getTags () | |
Return all tags for this message;. | |
setProperty ( $key, $value) | |
appendProperty ( $key, $value) | |
getProperty ( $key) | |
getPropertyNames () | |
Get all the available property names. | |
Protected Attributes | |
$translation | |
Protected Attributes inherited from TMessage | |
$key | |
$definition | |
$infile | |
$tags = [] | |
$props = [] | |
$reviewers = [] | |
Message object where you can directly set the translation.
Hence the name fat. Authors are not supported.
Definition at line 189 of file Message.php.
FatMessage::setTranslation | ( | $text | ) |
Set the current translation of this message.
string | $text |
Definition at line 197 of file Message.php.
string Stored FatMessage::translation | ( | ) |
Get the message translation.
Reimplemented from TMessage.
Definition at line 201 of file Message.php.
|
protected |
Definition at line 191 of file Message.php.