MediaWiki  1.30.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:\n private

Definition at line 28 of file MediaWikiI18N.php.

Member Function Documentation

◆ set()

MediaWikiI18N::set (   $varName,
  $value 
)

Definition at line 31 of file MediaWikiI18N.php.

References $value.

◆ translate()

MediaWikiI18N::translate (   $value)

Definition at line 35 of file MediaWikiI18N.php.

References $value, list, and wfMessage().

Member Data Documentation

◆ $context

MediaWikiI18N::$context = []
private

Definition at line 29 of file MediaWikiI18N.php.


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