InsertablesAid Class Reference
[Translation Aids]

Translation aid which suggests insertables. More...

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

List of all members.

Public Member Functions

 getData ()
 Translation aid class should implement this function.

Detailed Description

Translation aid which suggests insertables.

Insertable is a string that usually does not need translation and is difficult to type manually.

Since:
2013.09

Definition at line 17 of file InsertablesAid.php.


Member Function Documentation

InsertablesAid::getData (  ) 

Translation aid class should implement this function.

Return value should be an array with keys and values. Because these are used in the MediaWiki API, lists (numeric keys) should have key '**' set to element name that describes the list values. For example if the translation aid provides translation suggestions, it would return an array which has key '**' set to 'suggestion' and then list of arrays, each containing fields for the information of the suggestions. See InOtherLanguagesAid for example.

Exceptions:
TranslationHelperException Used to signal unexpected errors to aid debugging
Returns:
array

Reimplemented from TranslationAid.

Definition at line 18 of file InsertablesAid.php.

Here is the call graph for this function:


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