PHP Класс Inpsyde\MultilingualPress\Relations\Post\RelationshipControlView

С версии: 3.0.0
Показать файл Открыть проект

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

Метод Описание
__construct ( Inpsyde\MultilingualPress\Relations\Post\Search\SearchResultsView $search_results, AssetManager $asset_manager ) Constructor. Sets up the properties.
render ( RelationshipContext $context ) : void Renders the markup.

Приватные методы

Метод Описание
localize_script ( ) : void Makes the relationship control settings available for JavaScript.
render_radio_input ( string $label, string $value, integer $remote_site_id ) : void Renders the radio input markup according to the given data.

Описание методов

__construct() публичный метод

Constructor. Sets up the properties.
С версии: 3.0.0
public __construct ( Inpsyde\MultilingualPress\Relations\Post\Search\SearchResultsView $search_results, AssetManager $asset_manager )
$search_results Inpsyde\MultilingualPress\Relations\Post\Search\SearchResultsView Search results view object.
$asset_manager Inpsyde\MultilingualPress\Asset\AssetManager Asset manager object.

render() публичный метод

Renders the markup.
С версии: 3.0.0
public render ( RelationshipContext $context ) : void
$context RelationshipContext Relationship context data object.
Результат void