MediaWiki  1.32.5
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 26 of file LanguageEn.php.

Member Function Documentation

◆ loadDefaultTables()

EnConverter::loadDefaultTables ( )

Dummy methods required by base class.

Definition at line 30 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 45 of file LanguageEn.php.

References $matches.


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