PHP 클래스 Kirki_Controls_Repeater_Control, kirki

상속: extends Kirki_Customize_Control
파일 보기 프로젝트 열기: aristath/kirki

공개 프로퍼티들

프로퍼티 타입 설명
$fields array The fields that each container row will contain.
$row_label array The row label
$type string The control type.

보호된 프로퍼티들

프로퍼티 타입 설명
$filtered_value array Will store a filtered version of value for advenced fields (like images).

공개 메소드들

메소드 설명
__construct ( WP_Customize_Manager $manager, string $id, array $args = [] ) Constructor.
enqueue ( ) Enqueue control related scripts/styles.
repeater_js_template ( ) An Underscore (JS) template for this control's content (but not its container).
to_json ( ) Refresh the parameters passed to the JavaScript via JSON.

보호된 메소드들

메소드 설명
render_content ( ) Render the control's content.

메소드 상세

__construct() 공개 메소드

Supplied $args override class property defaults. If $args['settings'] is not defined, use the $id as the setting ID.
public __construct ( WP_Customize_Manager $manager, string $id, array $args = [] )
$manager WP_Customize_Manager Customizer bootstrap instance.
$id string Control ID.
$args array {@see \WP_Customize_Control::__construct}.

enqueue() 공개 메소드

Enqueue control related scripts/styles.
public enqueue ( )

render_content() 보호된 메소드

Allows the content to be overriden without having to rewrite the wrapper in $this->render().
protected render_content ( )

repeater_js_template() 공개 메소드

Class variables for this control class are available in the data JS object.

to_json() 공개 메소드

Refresh the parameters passed to the JavaScript via JSON.
public to_json ( )

프로퍼티 상세

$fields 공개적으로 프로퍼티

The fields that each container row will contain.
public array $fields
리턴 array

$filtered_value 보호되어 있는 프로퍼티

Will store a filtered version of value for advenced fields (like images).
protected array $filtered_value
리턴 array

$row_label 공개적으로 프로퍼티

The row label
public array $row_label
리턴 array

$type 공개적으로 프로퍼티

The control type.
public string $type
리턴 string