PHP 클래스 Inpsyde\MultilingualPress\Module\CustomPostTypeSupport\CustomPostTypeSupportSettingsBox

부터: 3.0.0
상속: implements Inpsyde\MultilingualPress\Common\Setting\SettingsBoxViewModel
파일 보기 프로젝트 열기: inpsyde/multilingual-press

공개 메소드들

메소드 설명
__construct ( array $post_types, Inpsyde\MultilingualPress\Common\Nonce\Nonce $nonce )
description ( ) : string Returns the description.
id ( ) : string Returns the ID of the container element.
label_id ( ) : string Returns the ID of the form element to be used by the label in order to make it accessible for screen readers.
markup ( ) : string Returns the markup for the settings box.
title ( ) : string Returns the title of the settings box.

비공개 메소드들

메소드 설명
render_checkbox ( string $name, string $id, boolean $checked ) : void Renders a checkbox element according to the given data.
render_table_row ( $post_type, $slug, array $settings )

메소드 상세

__construct() 공개 메소드

부터: 3.0.0
public __construct ( array $post_types, Inpsyde\MultilingualPress\Common\Nonce\Nonce $nonce )
$post_types array Post types.
$nonce Inpsyde\MultilingualPress\Common\Nonce\Nonce Nonce object.

description() 공개 메소드

Returns the description.
부터: 3.0.0
public description ( ) : string
리턴 string The description.

id() 공개 메소드

Returns the ID of the container element.
부터: 3.0.0
public id ( ) : string
리턴 string The ID of the container element.

label_id() 공개 메소드

Returns the ID of the form element to be used by the label in order to make it accessible for screen readers.
부터: 3.0.0
public label_id ( ) : string
리턴 string The ID of the primary form element.

markup() 공개 메소드

Returns the markup for the settings box.
부터: 3.0.0
public markup ( ) : string
리턴 string The markup for the settings box.

title() 공개 메소드

Returns the title of the settings box.
부터: 3.0.0
public title ( ) : string
리턴 string The title of the settings box.