PHP 클래스 Carbon_Fields\Field\Sidebar_Field

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

공개 메소드들

메소드 설명
disable_add_new ( ) Disable adding new sidebars.
exclude_sidebars ( array $sidebars ) Specify sidebars to be excluded.
to_json ( boolean $load ) : array Returns an array that holds the field data, suitable for JSON representation.

메소드 상세

disable_add_new() 공개 메소드

Disable adding new sidebars.
public disable_add_new ( )

exclude_sidebars() 공개 메소드

Specify sidebars to be excluded.
public exclude_sidebars ( array $sidebars )
$sidebars array

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