PHP 클래스 WhDateTimePicker

또한 보기:
저자: Antonio Ramirez ([email protected])
상속: extends CInputWidget
파일 보기 프로젝트 열기: 2amigos/yiiwheels

공개 프로퍼티들

프로퍼티 타입 설명
$events the JavaScript event handlers.
$format the date format.
$iconDate the icon to display when selecting dates
$iconTime the icon to display when selecting times
$pluginOptions pluginOptions to be passed to datetimepicker plugin. Defaults are: - maskInput: true, disables the text input mask - pickDate: true, disables the date picker - pickTime: true, disables de time picker - pick12HourFormat: false, enables the 12-hour format time picker - pickSeconds: true, disables seconds in the time picker - startDate: -Infinity, set a minimum date - endDate: Infinityset a maximum date
$selector string if provided, then no input field will be rendered. It will write the JS code for the specified selector.

공개 메소드들

메소드 설명
init ( ) Initializes the widget.
registerClientScript ( ) Registers required css js files
renderField ( ) Renders the field if no selector has been provided
run ( ) Runs the widget.

메소드 상세

init() 공개 메소드

Initializes the widget.
public init ( )

registerClientScript() 공개 메소드

Registers required css js files

renderField() 공개 메소드

Renders the field if no selector has been provided
public renderField ( )

run() 공개 메소드

Runs the widget.
public run ( )

프로퍼티 상세

$events 공개적으로 프로퍼티

the JavaScript event handlers.
public $events

$format 공개적으로 프로퍼티

the date format.
public $format

$iconDate 공개적으로 프로퍼티

the icon to display when selecting dates
public $iconDate

$iconTime 공개적으로 프로퍼티

the icon to display when selecting times
public $iconTime

$pluginOptions 공개적으로 프로퍼티

pluginOptions to be passed to datetimepicker plugin. Defaults are: - maskInput: true, disables the text input mask - pickDate: true, disables the date picker - pickTime: true, disables de time picker - pick12HourFormat: false, enables the 12-hour format time picker - pickSeconds: true, disables seconds in the time picker - startDate: -Infinity, set a minimum date - endDate: Infinityset a maximum date
public $pluginOptions

$selector 공개적으로 프로퍼티

if provided, then no input field will be rendered. It will write the JS code for the specified selector.
public string $selector
리턴 string