PHP Класс Carbon_Fields\Field\Date_Field

Наследование: extends Field
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
$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