|
| $mLanguageName |
|
| $mLocaleName |
|
◆ existFile()
existFile |
( |
string | $section, |
|
|
string | $filename ) |
check the existence of the specified file in the specified section.
@access public
- Parameters
-
string | $section | A name of section. |
string | $filename | A name of file |
- Returns
- void
◆ getFallbackLanguage()
Return default language name.
@access protected
- Returns
- string
◆ getFallbackLocale()
Return default locale name.
@access protected
- Returns
- string
◆ getFilepath()
getFilepath |
( |
string | $section, |
|
|
string | $filename ) |
Return the file path by the specified section and the specified file.
@access public
- Parameters
-
string | $section | A name of section. |
string | $filename | A name of file |
- Returns
- string
◆ getLanguage()
Get language name.
- Returns
- string language name
◆ getLocale()
Get locale name.
- Returns
- string locale name
◆ loadGlobalMessageCatalog()
loadGlobalMessageCatalog |
( |
| ) |
|
Load the global message catalog which is defined in the base module.
◆ loadModuleMessageCatalog()
loadModuleMessageCatalog |
( |
string | $moduleName | ) |
|
Load the module message catalog which is defined in the specified module.
- Parameters
-
string | $moduleName | A name of module. |
◆ loadTextFile()
loadTextFile |
( |
string | $section, |
|
|
string | $filename ) |
Get file contents and return it.
@access public
- Parameters
-
string | $section | A name of section. |
string | $filename | A name of file |
- Returns
- string
◆ loadThemeMessageCatalog()
loadThemeMessageCatalog |
( |
string | $themeName | ) |
|
Load the theme message catalog which is defined in the specified module.
- Parameters
-
string | $themeName | A name of theme. |
◆ prepare()
Normally, this member function is called promptly, after the constructor. To follow the base, initialize.
◆ setLanguage()
Set language name.
- Parameters
-
string | $language | language name |
◆ setLocale()
Set string locale name.
- Parameters
-
◆ translate()
translate |
( |
string | $word | ) |
|
Return translated message.
- Parameters
-
- Returns
- string
- Note
- This member function is test.
The documentation for this class was generated from the following file:
- C:/Ampps/www/legacy250/html/core/XCube_LanguageManager.class.php