PHP Класс Carbon_Fields\Field\Set_Field

Allows to create a set of checkboxes where multiple can be selected.
Наследование: extends Field
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$limit_options

Открытые методы

Метод Описание
get_value ( ) : array Retrieve the field value(s).
limit_options ( integer $limit ) Set the number of the options to be displayed at the initial field display.
template ( ) The Underscore template of this field.
to_json ( boolean $load ) : array Returns an array that holds the field data, suitable for JSON representation.

Описание методов

get_value() публичный метод

Retrieve the field value(s).
public get_value ( ) : array
Результат array

limit_options() публичный метод

Set the number of the options to be displayed at the initial field display.
public limit_options ( integer $limit )
$limit integer

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

Описание свойств

$limit_options защищенное свойство

protected $limit_options