Semantic MediaWiki and related extensions
Public Member Functions | List of all members
SMW\Localizer\LocalMessageProvider Class Reference
Inheritance diagram for SMW\Localizer\LocalMessageProvider:
Inheritance graph
[legend]
Collaboration diagram for SMW\Localizer\LocalMessageProvider:
Collaboration graph
[legend]

Public Member Functions

 __construct (string $file, ?string $languageCode=null)
 
 loadMessages ()
 
 setLanguageFileDir (string $languageFileDir)
 
 setLanguageCode (string $languageCode)
 
 has (... $args)
 
 msg (... $args)
 

Detailed Description

GNU GPL v2+

Since
3.2
Author
mwjames

Constructor & Destructor Documentation

◆ __construct()

SMW\Localizer\LocalMessageProvider::__construct ( string  $file,
?string  $languageCode = null 
)
Since
3.2
Parameters
string$file
string | null$languageCode

Member Function Documentation

◆ has()

SMW\Localizer\LocalMessageProvider::has (   $args)
Since
3.2
Parameters
string | array$args
Returns
bool

◆ loadMessages()

SMW\Localizer\LocalMessageProvider::loadMessages ( )
Since
3.2

◆ msg()

SMW\Localizer\LocalMessageProvider::msg (   $args)
Since
3.2
Parameters
string | array$args
Returns
string

Implements SMW\Localizer\MessageLocalizer.

◆ setLanguageCode()

SMW\Localizer\LocalMessageProvider::setLanguageCode ( string  $languageCode)
Since
3.2
Parameters
string$languageCode

◆ setLanguageFileDir()

SMW\Localizer\LocalMessageProvider::setLanguageFileDir ( string  $languageFileDir)
Since
3.2
Parameters
string$languageFileDir

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

About | General disclaimer | Privacy policy