MediaWiki  1.28.0
MediaWikiI18N Class Reference

Wrapper object for MediaWiki's localization functions, to be passed to the template engine. More...

Public Member Functions

 set ($varName, $value)
 
 translate ($value)
 

Private Attributes

 $context = []
 

Detailed Description

Wrapper object for MediaWiki's localization functions, to be passed to the template engine.

Access:
private

Definition at line 28 of file MediaWikiI18N.php.

Member Function Documentation

MediaWikiI18N::set (   $varName,
  $value 
)

Definition at line 31 of file MediaWikiI18N.php.

References $value.

MediaWikiI18N::translate (   $value)

Definition at line 35 of file MediaWikiI18N.php.

References $value, list, and wfMessage().

Member Data Documentation

MediaWikiI18N::$context = []
private

Definition at line 29 of file MediaWikiI18N.php.


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