Class XoopsLocalAbstract
Methods | ||
---|---|---|
public
static
|
substr(mixed $str, mixed $start, mixed $length, string $trimmarker = '...'): mixed|string
XoopsLocalAbstract::substr()
XoopsLocalAbstract::substr() |
# |
public
static
|
utf8_encode(mixed $text): string
XoopsLocalAbstract::utf8_encode()
XoopsLocalAbstract::utf8_encode() |
# |
public
static
|
utf8_decode(mixed $text): string
XoopsLocalAbstract::utf8_decode()
XoopsLocalAbstract::utf8_decode() |
# |
public
static
|
convert_encoding(mixed $text, string $to = 'utf-8', string $from = ''): mixed|string
XoopsLocalAbstract::convert_encoding()
XoopsLocalAbstract::convert_encoding() |
# |
public
static
|
trim(mixed $text): string
XoopsLocalAbstract::trim()
XoopsLocalAbstract::trim() |
# |
public
static
|
getTimeFormatDesc()
Get description for setting time format
Get description for setting time format |
# |
public
static
|
formatTimestamp($time, string $format = 'l', null|string $timeoffset = null): string
Function to display formatted times in user timezone
Function to display formatted times in user timezone Setting $timeoffset to null (by default) will skip timezone calculation for user, using default timezone instead, which is a MUST for cached contents |
# |
public
|
number_format(mixed $number): mixed
XoopsLocalAbstract::number_format()
|
# |
public
|
money_format(mixed $format, mixed $number): mixed
XoopsLocalAbstract::money_format()
|
# |
public
|
__call(mixed $name, mixed $args): mixed
XoopsLocalAbstract::__call()
XoopsLocalAbstract::__call() |
# |