dateText
in
Timestamp to date text view helper
Table of Contents
$format | Date format string according to PHP date() function | string |
---|---|---|
$timespan | Unix timestamp | int |
$returned | Flag if element string was return by @see __toString | bool |
__construct() | Konstruktor | mixed |
Properties
$format
Date format string according to PHP date() function
protected
string
$format
= ''
$timespan
Unix timestamp
protected
int
$timespan
= ""
$returned
Flag if element string was return by @see __toString
protected
bool
$returned
= false
Methods
__construct()
Konstruktor
public
final __construct(
$timestamp :
string
[, $format :
string
= false ]
)
: mixed
Parameters
- $timestamp : string
- $format : string = false