PHP 클래스 Nextras\Forms\Controls\DateTimePickerPrototype

상속: extends Nette\Forms\Controls\TextBase
파일 보기 프로젝트 열기: nextras/forms

보호된 프로퍼티들

프로퍼티 타입 설명
$htmlFormat string
$htmlType string
$parsers Closur\Closure[]

공개 메소드들

메소드 설명
addParser ( Closure $parser )
getControl ( ) : Nette\Utils\Html Generates control's HTML element.
getValue ( ) : Nette\Utils\DateTime | null
setValue ( $value )

보호된 메소드들

메소드 설명
extractRangeRule ( Rules $rules ) : array Finds minimum and maximum allowed dates.
getDefaultParser ( )

메소드 상세

addParser() 공개 메소드

public addParser ( Closure $parser )
$parser Closure

extractRangeRule() 보호된 메소드

Finds minimum and maximum allowed dates.
protected extractRangeRule ( Rules $rules ) : array
$rules Nette\Forms\Rules
리턴 array 0 => DateTime|null $minDate, 1 => DateTime|null $maxDate

getControl() 공개 메소드

Generates control's HTML element.
public getControl ( ) : Nette\Utils\Html
리턴 Nette\Utils\Html

getDefaultParser() 추상적인 보호된 메소드

abstract protected getDefaultParser ( )

getValue() 공개 메소드

public getValue ( ) : Nette\Utils\DateTime | null
리턴 Nette\Utils\DateTime | null

setValue() 공개 메소드

public setValue ( $value )

프로퍼티 상세

$htmlFormat 보호되어 있는 프로퍼티

protected string $htmlFormat
리턴 string

$htmlType 보호되어 있는 프로퍼티

protected string $htmlType
리턴 string

$parsers 보호되어 있는 프로퍼티

protected Closure[],Closur $parsers
리턴 Closur\Closure[]