XOOPS RMCommon Utilities
2.1.8.91RC
|
Public Member Functions | |
__construct ($time=0, $format='') | |
days ($time=0) | |
format ($time=0, $format='') | |
get () | |
months ($time=0) | |
Private Attributes | |
$format = '' | |
$time = 0 | |
Definition at line 11 of file timeformatter.php.
RMTimeFormatter::__construct | ( | $time = 0 , |
|
$format = '' |
|||
) |
Initialize this class
int | Unix timestamp |
string | Format for time (e.g. Created on M% d%, Y%) |
Definition at line 23 of file timeformatter.php.
References $format, $time, and format().
RMTimeFormatter::days | ( | $time = 0 | ) |
Day name for time formatting
int | $time |
Definition at line 87 of file timeformatter.php.
Referenced by format().
RMTimeFormatter::format | ( | $time = 0 , |
|
$format = '' |
|||
) |
Definition at line 41 of file timeformatter.php.
References $format, $time, __(), days(), and months().
Referenced by __construct().
RMTimeFormatter::get | ( | ) |
Singleton Method
Definition at line 31 of file timeformatter.php.
RMTimeFormatter::months | ( | $time = 0 | ) |
Definition at line 106 of file timeformatter.php.
Referenced by format().
|
private |
Definition at line 14 of file timeformatter.php.
Referenced by __construct(), and format().
|
private |
Definition at line 13 of file timeformatter.php.
Referenced by __construct(), days(), format(), and months().