|
XCL Web Application Platform 2.5.0
The XoopsCube Legacy Project
|
Public Member Functions | |
| prepare () | |
| _setupDatabase () | |
| _setupMbstring () | |
| loadGlobalMessageCatalog () | |
| loadPageTypeMessageCatalog (string $type) | |
| loadModuleMessageCatalog (string $moduleName) | |
| loadModuleAdminMessageCatalog ($dirname) | |
| loadBlockMessageCatalog ($dirname) | |
| loadModinfoMessageCatalog ($dirname) | |
| _loadLanguage ($dirname, $fileBodyName) | |
| _loadFile ($filename, $mydirname=null) | |
| existFile (string $section, string $filename) | |
| getFilepath (string $section, string $filename) | |
| loadTextFile (string $section, string $filename) | |
| getFallbackLanguage () | |
| encodeUTF8 ($text) | |
| decodeUTF8 ($text) | |
Public Member Functions inherited from XCube_LanguageManager | |
| setLocale ( $locale) | |
| getLocale () | |
| setLanguage ( $language) | |
| getLanguage () | |
| loadThemeMessageCatalog (string $themeName) | |
| translate (string $word) | |
| getFallbackLocale () | |
Additional Inherited Members | |
Data Fields inherited from XCube_LanguageManager | |
| $mLanguageName | |
| $mLocaleName | |
Definition at line 18 of file Legacy_LanguageManager.class.php.
| _loadFile | ( | $filename, | |
| $mydirname = null ) |
@access protected
| $filename | /filename. | |
| null | $mydirname |
Definition at line 199 of file Legacy_LanguageManager.class.php.
| _loadLanguage | ( | $dirname, | |
| $fileBodyName ) |
@access protected
| $dirname | /module directory name |
| $fileBodyName | /language file body name |
Reimplemented in AltsysLangMgr_LanguageManager.
Definition at line 171 of file Legacy_LanguageManager.class.php.
| _setupDatabase | ( | ) |
Load the additional file to control DB.
Definition at line 33 of file Legacy_LanguageManager.class.php.
| _setupMbstring | ( | ) |
default_charset string "UTF-8" is the default value and its value is used as the default character encoding for htmlentities(), html_entity_decode() and htmlspecialchars() if the encoding parameter is omitted. The value of default_charset will also be used to set the default character set for iconv functions if the iconv.input_encoding, iconv.output_encoding and iconv.internal_encoding configuration options are unset, and for mbstring functions if the mbstring.http_input mbstring.http_output mbstring.internal_encoding configuration option is unset. https://www.php.net/manual/en/ini.core.php#ini.default-charset
Definition at line 51 of file Legacy_LanguageManager.class.php.
| decodeUTF8 | ( | $text | ) |
Reimplemented from XCube_LanguageManager.
Definition at line 269 of file Legacy_LanguageManager.class.php.
| encodeUTF8 | ( | $text | ) |
Reimplemented from XCube_LanguageManager.
Definition at line 260 of file Legacy_LanguageManager.class.php.
| existFile | ( | string | $section, |
| string | $filename ) |
check the exstence of the specified file in the specified section.
@access public
| string | $section | A name of section. |
| string | $filename | A name of file |
Reimplemented from XCube_LanguageManager.
Definition at line 217 of file Legacy_LanguageManager.class.php.
| getFallbackLanguage | ( | ) |
Return default language name.
@access protected
Reimplemented from XCube_LanguageManager.
Definition at line 255 of file Legacy_LanguageManager.class.php.
| getFilepath | ( | string | $section, |
| string | $filename ) |
Return the file path by the specified section and the specified file.
@access public
| string | $section | A name of section. |
| string | $filename | A name of file |
Reimplemented from XCube_LanguageManager.
Definition at line 230 of file Legacy_LanguageManager.class.php.
| loadBlockMessageCatalog | ( | $dirname | ) |
Load the message catalog of the specified module for block.
@access public
| $dirname | /dirname of module. |
Definition at line 150 of file Legacy_LanguageManager.class.php.
| loadGlobalMessageCatalog | ( | ) |
Load the global message catalog which is defined in the base module.
Reimplemented from XCube_LanguageManager.
Reimplemented in AltsysLangMgr_LanguageManager.
Definition at line 89 of file Legacy_LanguageManager.class.php.
| loadModinfoMessageCatalog | ( | $dirname | ) |
Load the message catalog of the specified module for modinfo.
@access public
| $dirname | /dirname of module. |
Definition at line 161 of file Legacy_LanguageManager.class.php.
| loadModuleAdminMessageCatalog | ( | $dirname | ) |
Load the message catalog of the specified module for admin.
@access public
| $dirname | /dirname of module. |
Definition at line 139 of file Legacy_LanguageManager.class.php.
| loadModuleMessageCatalog | ( | string | $moduleName | ) |
Load the message catalog of the specified module.
@access public
| string | $moduleName |
Reimplemented from XCube_LanguageManager.
Definition at line 128 of file Legacy_LanguageManager.class.php.
| loadPageTypeMessageCatalog | ( | string | $type | ) |
Load the special message catalog that is defined as the XOOPS2 generation.
@access public
| string | $type |
Definition at line 113 of file Legacy_LanguageManager.class.php.
| loadTextFile | ( | string | $section, |
| string | $filename ) |
Get file contents and return it.
@access public
| string | $section | A name of section. |
| string | $filename | A name of file |
Reimplemented from XCube_LanguageManager.
Definition at line 249 of file Legacy_LanguageManager.class.php.
| prepare | ( | ) |
Normally, this member function is called promptly, after the constructor. To follow the base, initialize.
Reimplemented from XCube_LanguageManager.
Reimplemented in AltsysLangMgr_LanguageManager.
Definition at line 20 of file Legacy_LanguageManager.class.php.