ThinMessage Class Reference

Message object which is based on database result row. More...

Inheritance diagram for ThinMessage:
Inheritance graph
[legend]
Collaboration diagram for ThinMessage:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 setRow ($row)
 Set the database row this message is based on.
 translation ()
 Get the message translation.
 getProperty ($key)
 getPropertyNames ()
 Get all the available property names.

Protected Attributes

 $row

Static Protected Attributes

static $propertyMap

Detailed Description

Message object which is based on database result row.

Hence the name thin. Needs fields rev_user_text and those that are needed for loading revision text.

Definition at line 132 of file Message.php.


Member Function Documentation

ThinMessage::getProperty ( key  ) 

Reimplemented from TMessage.

Definition at line 161 of file Message.php.

ThinMessage::getPropertyNames (  ) 

Get all the available property names.

Returns:
array
Since:
2013-01-17

Reimplemented from TMessage.

Definition at line 175 of file Message.php.

ThinMessage::setRow ( row  ) 

Set the database row this message is based on.

Parameters:
array $row Database Result Row

Definition at line 148 of file Message.php.

ThinMessage::translation (  ) 

Get the message translation.

Returns:
string|null

Reimplemented from TMessage.

Definition at line 152 of file Message.php.

Here is the call graph for this function:


Member Data Documentation

ThinMessage::$propertyMap [static, protected]
Initial value:
 array(
        'last-translator-text' => 'rev_user_text',
        'last-translator-id' => 'rev_user',
    )

Definition at line 134 of file Message.php.

ThinMessage::$row [protected]

Definition at line 142 of file Message.php.

Referenced by setRow().


The documentation for this class was generated from the following file:
Generated on Tue Oct 29 00:00:55 2013 for MediaWiki Translate Extension by  doxygen 1.6.3