NobuNobu
nobun****@users*****
2006年 8月 20日 (日) 12:08:28 JST
Index: xoops2jp/html/kernel/XCube_LanguageManager.class.php diff -u xoops2jp/html/kernel/XCube_LanguageManager.class.php:1.1.2.1 xoops2jp/html/kernel/XCube_LanguageManager.class.php:1.1.2.2 --- xoops2jp/html/kernel/XCube_LanguageManager.class.php:1.1.2.1 Thu Jul 20 17:18:55 2006 +++ xoops2jp/html/kernel/XCube_LanguageManager.class.php Sun Aug 20 12:08:28 2006 @@ -1,7 +1,7 @@ <?php /** * @package XCube - * @version $Id: XCube_LanguageManager.class.php,v 1.1.2.1 2006/07/20 08:18:55 minahito Exp $ + * @version $Id: XCube_LanguageManager.class.php,v 1.1.2.2 2006/08/20 03:08:28 nobunobu Exp $ */ /** @@ -59,6 +59,16 @@ } /** + * Get locale name. + * + * @return string locale name + */ + function getLocale() + { + return $this->mLanguageName; + } + + /** * Set language name. * * @param string $language language name @@ -69,6 +79,16 @@ } /** + * Get language name. + * + * @return string language name + */ + function getLanguage() + { + return $this->mLanguageName; + } + + /** * Load the global message catalog which is defined in the base module. */ function loadGlobalMessageCatalog()