PHP 클래스 Horde_Form_Type_hourminutesecond, horde

상속: extends Horde_Form_Type
파일 보기 프로젝트 열기: horde/horde

공개 프로퍼티들

프로퍼티 타입 설명
$_show_seconds

공개 메소드들

메소드 설명
about ( ) Return info about field type.
checktime ( $hour, $minute, $second )
emptyTimeArray ( $time )
getTimeOb ( string $time_in ) : Horde_Date Return the time supplied as a Horde_Date object.
getTimeParts ( string $time_in ) : array Return the time supplied split up into an array.
init ( $show_seconds = false )
isValid ( &$var, &$vars, $value, &$message )

메소드 상세

about() 공개 메소드

Return info about field type.
public about ( )

checktime() 공개 메소드

public checktime ( $hour, $minute, $second )

emptyTimeArray() 공개 메소드

public emptyTimeArray ( $time )

getTimeOb() 공개 메소드

Return the time supplied as a Horde_Date object.
public getTimeOb ( string $time_in ) : Horde_Date
$time_in string Date in one of the three formats supported by Horde_Form and Horde_Date (ISO format YYYY-MM-DD HH:MM:SS, timestamp YYYYMMDDHHMMSS and UNIX epoch).
리턴 Horde_Date The time object.

getTimeParts() 공개 메소드

Return the time supplied split up into an array.
public getTimeParts ( string $time_in ) : array
$time_in string Time in one of the three formats supported by Horde_Form and Horde_Date (ISO format YYYY-MM-DD HH:MM:SS, timestamp YYYYMMDDHHMMSS and UNIX epoch).
리턴 array Array with three elements - hour, minute and seconds.

init() 공개 메소드

public init ( $show_seconds = false )

isValid() 공개 메소드

public isValid ( &$var, &$vars, $value, &$message )

프로퍼티 상세

$_show_seconds 공개적으로 프로퍼티

public $_show_seconds