Class AbstractLocale
XOOPS localization abstract
Direct known subclasses
XoopsLocaleEn_USIndirect known subclasses
XoopsLocale
Abstract
Namespace: Xoops\Locale
Package: Xoops\Locale\Abstract
Category: Xoops\Locale
Copyright: 2000-2015 XOOPS Project (http://xoops.org)
License: GPL 2 or later (http://www.gnu.org/licenses/gpl-2.0.html)
Author: Taiwen Jiang phppp@users.sourceforge.net
Link: http://xoops.org
Located at oops_lib/Xoops/Locale/AbstractLocale.php
Namespace: Xoops\Locale
Package: Xoops\Locale\Abstract
Category: Xoops\Locale
Copyright: 2000-2015 XOOPS Project (http://xoops.org)
License: GPL 2 or later (http://www.gnu.org/licenses/gpl-2.0.html)
Author: Taiwen Jiang phppp@users.sourceforge.net
Link: http://xoops.org
Located at oops_lib/Xoops/Locale/AbstractLocale.php
public static
boolean
|
|
public static
boolean
|
|
public static
|
|
public static
string
|
|
public static
string
|
|
public static
string
|
#
getLangCode( )
getLangCode - return language code for the current locale (locale with '-' separator) |
public static
string
|
|
public static
string
|
|
public static
string[]
|
|
public static
array
|
#
getFontSizes( )
The css should adjust based on the html:lang(ja) { font-size: 150%; } Then classes can be relative to that base em CJK fonts may need to be shown in a larger size due to complex glyphs |
public static
string[]
|
|
public static
string
|
|
public static
string
|
#
utf8_encode( mixed $text )
filter to UTF-8, converts invalid $text as CP1252 and forces NFC normalization |
public static
string
|
|
public static
string
|
|
public static
string
|
#
formatTimestamp( mixed $time, string $format = 'l' )
Function to display formatted times in user timezone |
public static
string
|
|
public static
string
|
|
public static
|