PHP 클래스 fewbricks\acf\fields\flexible_content

상속: extends field
파일 보기 프로젝트 열기: folbert/fewbricks 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( string $label, string $name, string $key, array $custom_settings = [] )
add_layout ( layout $layout ) : layout
add_layouts ( array $layouts )
get_sub_field_brick_class_name ( ) : string
get_sub_field_brick_instance ( ) : fewbricks\brick

메소드 상세

__construct() 공개 메소드

public __construct ( string $label, string $name, string $key, array $custom_settings = [] )
$label string The label that the field will get.
$name string The name that the field will get.
$key string The key that the field wil get. It is very important that this value is unique among all the keys across the entire site.
$custom_settings array Any custom settings that you want to set. A setting must be implemented in the ACF field class for it to have an effect. This array wil be merged with $base_settings in this class and then with the default settings in the ACF field class.

add_layout() 공개 메소드

public add_layout ( layout $layout ) : layout
$layout fewbricks\acf\layout
리턴 fewbricks\acf\layout

add_layouts() 공개 메소드

public add_layouts ( array $layouts )
$layouts array

get_sub_field_brick_class_name() 공개 정적인 메소드

public static get_sub_field_brick_class_name ( ) : string
리턴 string

get_sub_field_brick_instance() 공개 정적인 메소드

public static get_sub_field_brick_instance ( ) : fewbricks\brick
리턴 fewbricks\brick