MediaWiki  1.30.0
EnConverter Class Reference
Inheritance diagram for EnConverter:
Collaboration diagram for EnConverter:

Public Member Functions

 loadDefaultTables ()
 Dummy methods required by base class. More...
 
 translate ( $text, $toVariant)
 Translates text into Pig Latin. More...
 

Detailed Description

Definition at line 24 of file LanguageEn.php.

Member Function Documentation

◆ loadDefaultTables()

EnConverter::loadDefaultTables ( )

Dummy methods required by base class.

Definition at line 28 of file LanguageEn.php.

◆ translate()

EnConverter::translate (   $text,
  $toVariant 
)

Translates text into Pig Latin.

This allows developers to test the language variants functionality and user interface without having to switch wiki language away from default.

Parameters
string$text
string$toVariant
Returns
string

Definition at line 43 of file LanguageEn.php.

References $matches.


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