PHP Класс Inpsyde\MultilingualPress\Module\CustomPostTypeSupport\CustomPostTypeSupportSettingsBox

С версии: 3.0.0
Наследование: implements Inpsyde\MultilingualPress\Common\Setting\SettingsBoxViewModel
Показать файл Открыть проект

Открытые методы

Метод Описание
__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.