PHP 클래스 Inpsyde\MultilingualPress\Relations\Post\RelationshipControlView

부터: 3.0.0
파일 보기 프로젝트 열기: inpsyde/multilingual-press

공개 메소드들

메소드 설명
__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