PHP 클래스 Carbon_Fields\Field\Set_Field

Allows to create a set of checkboxes where multiple can be selected.
상속: extends Field
파일 보기 프로젝트 열기: htmlburger/carbon-fields

보호된 프로퍼티들

프로퍼티 타입 설명
$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