PHP 클래스 Carbon_Fields\Field\Date_Field

상속: extends Field
파일 보기 프로젝트 열기: htmlburger/carbon-fields

공개 프로퍼티들

프로퍼티 타입 설명
$datepicker_options Datepicker options

공개 메소드들

메소드 설명
admin_enqueue_scripts ( ) Hook administration scripts and styles.
set_datepicker_options ( $options ) Set datepicker options
set_options ( $options ) This method is deprecated since it conflicts with the options concept in predefined option fields.
template ( ) The Underscore template of this field
to_json ( boolean $load ) : array Returns an array that holds the field data, suitable for JSON representation.

메소드 상세

admin_enqueue_scripts() 공개 정적인 메소드

Hook administration scripts and styles.
public static admin_enqueue_scripts ( )

set_datepicker_options() 공개 메소드

Set datepicker options
public set_datepicker_options ( $options )

set_options() 공개 메소드

This method is deprecated since it conflicts with the options concept in predefined option fields.
사용 중단:
public set_options ( $options )

template() 공개 메소드

The Underscore template of this field
public template ( )

to_json() 공개 메소드

This data will be available in the Underscore template and the Backbone Model.
public to_json ( boolean $load ) : array
$load boolean Should the value be loaded from the database or use the value from the current instance.
리턴 array

프로퍼티 상세

$datepicker_options 공개적으로 프로퍼티

Datepicker options
public $datepicker_options