Class XCube_LanguageManager
This class manages resources of each languages. By requests of other components, this class loads files, or checks the existence of the specified resource, or composes filepath to access real files. And, it manages some locale informations.
Rules about language are different at each bases. So it's important that a base defines the sub class of this class if it can't use this class directly.
And, XCube or bases have to make each languages possible to have its sub class. By that, languages become able to implement their logic to solve problems.
This class calls sub directories of each languages 'section'. 'section' is used to load image files and etc.
Direct known subclasses
Legacy_LanguageManagerCopyright: Copyright 2005-2007 XOOPS Cube Project <https://github.com/xoopscube/legacy>
License: Modified BSD license
Located at html/core/XCube_LanguageManager.class.php
public
|
|
public
|
|
public
|
|
public
string
|
|
public
|
|
public
string
|
|
public
|
|
public
|
#
loadModuleMessageCatalog( string $moduleName )
Load the module message catalog which is defined in the specified module. |
public
|
#
loadThemeMessageCatalog( string $themeName )
Load the theme message catalog which is defined in the specified module. |
public
boolean
|
|
public
string
|
#
getFilepath( string $section, string $filename )
Return the file path by the specified section and the specified file. |
public
string
|
|
public
string
|
|
public
string
|
|
public
string
|
|
public
|
|
public
|
public
string
|
$mLanguageName |
|
|
public
string
|
$mLocaleName |
|