PHP 클래스 SS_Datetimezone

Adds customisable timezones to the nice method on {@link SS_Datetime}.
상속: extends SS_Datetime
파일 보기 프로젝트 열기: silverstripe/deploynaut

보호된 프로퍼티들

프로퍼티 타입 설명
$_cache_members Member[]

공개 메소드들

메소드 설명
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”

보호된 메소드들

메소드 설명
getCurrentCachedUser ( ) : Member | null Format can be called a lot of time in tight loops, so we cache the current user per request

메소드 상세

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”
public Format ( $format )

getCurrentCachedUser() 보호된 메소드

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

프로퍼티 상세

$_cache_members 보호되어 있는 정적으로 프로퍼티

protected static Member[] $_cache_members
리턴 Member[]