◆ __call()
◆ convert_encoding()
static convert_encoding |
( |
|
$text, |
|
|
|
$to = 'utf-8' , |
|
|
|
$from = '' |
|
) |
| |
|
static |
◆ formatTimestamp()
static formatTimestamp |
( |
|
$time, |
|
|
|
$format = 'l' , |
|
|
|
$timeoffset = null |
|
) |
| |
|
static |
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
- Parameters
-
| $time | |
string | $format | |
null | string | $timeoffset | |
- Returns
- string
◆ getTimeFormatDesc()
static getTimeFormatDesc |
( |
| ) |
|
|
static |
Get description for setting time format
◆ money_format()
money_format |
( |
|
$format, |
|
|
|
$number |
|
) |
| |
◆ number_format()
◆ substr()
static substr |
( |
|
$str, |
|
|
|
$start, |
|
|
|
$length, |
|
|
|
$trimmarker = '...' |
|
) |
| |
|
static |
◆ trim()
◆ utf8_encode()
static utf8_encode |
( |
|
$text | ) |
|
|
static |
The documentation for this class was generated from the following file: