Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Carbon_Fields
Field
Select_Field
PHP Class Carbon_Fields\Field\Select_Field
Inheritance:
extends
Field
Show file
Open project: htmlburger/carbon-fields
Public Methods
Method
Description
template
( )
The main Underscore template of this field.
to_json
(
boolean
$load
) :
array
Returns an array that holds the field data, suitable for JSON representation.
Method Details
template()
public
method
The main Underscore template of this field.
public
template
( )
to_json()
public
method
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.
return
array