PHP Class SS_Datetimezone

Adds customisable timezones to the nice method on {@link SS_Datetime}.
Inheritance: extends SS_Datetime
Afficher le fichier Open project: silverstripe/deploynaut

Protected Properties

Свойство Type Description
$_cache_members Member[]

Méthodes publiques

Méthode Description
Format ( $format ) Returns the date in the raw SQL-format specific to a given timezone passed from the Member class, e.g. “2006-01-18 16:32:04”

Méthodes protégées

Méthode Description
getCurrentCachedUser ( ) : Member | null Format can be called a lot of time in tight loops, so we cache the current user per request

Method Details

Format() public méthode

Returns the date in the raw SQL-format specific to a given timezone passed from the Member class, e.g. “2006-01-18 16:32:04”
public Format ( $format )

getCurrentCachedUser() protected méthode

Format can be called a lot of time in tight loops, so we cache the current user per request
protected getCurrentCachedUser ( ) : Member | null
Résultat Member | null

Property Details

$_cache_members protected_oe static_oe property

protected static Member[] $_cache_members
Résultat Member[]