PHP 클래스 dosamigos\datepicker\DateRangePicker

저자: Antonio Ramirez ([email protected])
상속: extends yii\widgets\InputWidget, use trait DatePickerTrait
파일 보기 프로젝트 열기: 2amigos/yii2-date-picker-widget 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$attributeTo the attribute name for date range (to Date)
$form useful for client validation of attributeTo
$labelTo the label to. Defaults to 'to'.
$nameTo the name for date range (to Date)
$optionsTo HTML attributes for the date to input
$valueTo the value for date range (to Date value)

보호된 프로퍼티들

프로퍼티 타입 설명
$_template the template to render. Used internally.

공개 메소드들

메소드 설명
init ( )
registerClientScript ( ) Registers required script for the plugin to work as DateRangePicker
run ( )

메소드 상세

init() 공개 메소드

public init ( )

registerClientScript() 공개 메소드

Registers required script for the plugin to work as DateRangePicker

run() 공개 메소드

public run ( )

프로퍼티 상세

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

the template to render. Used internally.
protected $_template

$attributeTo 공개적으로 프로퍼티

the attribute name for date range (to Date)
public $attributeTo

$form 공개적으로 프로퍼티

useful for client validation of attributeTo
public $form

$labelTo 공개적으로 프로퍼티

the label to. Defaults to 'to'.
public $labelTo

$nameTo 공개적으로 프로퍼티

the name for date range (to Date)
public $nameTo

$optionsTo 공개적으로 프로퍼티

HTML attributes for the date to input
public $optionsTo

$valueTo 공개적으로 프로퍼티

the value for date range (to Date value)
public $valueTo