PHP Class Mlp_Translation_Metabox_View

Author: Inpsyde GmbH, toscho
Mostrar archivo Open project: inpsyde/multilingual-press

Public Methods

Method Description
__construct ( Inpsyde\MultilingualPress\Common\Nonce\Nonce $nonce ) Constructor.
render ( WP_Post $post, array $meta_box ) : void Basic meta box frame.
show_editor ( WP_Post $source_post, integer $remote_blog_id, WP_Post $remote_post ) : void
show_title ( WP_Post $source_post, integer $remote_blog_id, WP_Post $post ) : void
show_translation_checkbox ( WP_Post $post, integer $blog_id ) : void

Method Details

__construct() public method

Constructor.
public __construct ( Inpsyde\MultilingualPress\Common\Nonce\Nonce $nonce )
$nonce Inpsyde\MultilingualPress\Common\Nonce\Nonce Nonce object.

render() public method

Basic meta box frame.
public render ( WP_Post $post, array $meta_box ) : void
$post WP_Post
$meta_box array
return void

show_editor() public method

public show_editor ( WP_Post $source_post, integer $remote_blog_id, WP_Post $remote_post ) : void
$source_post WP_Post
$remote_blog_id integer
$remote_post WP_Post
return void

show_title() public method

public show_title ( WP_Post $source_post, integer $remote_blog_id, WP_Post $post ) : void
$source_post WP_Post
$remote_blog_id integer
$post WP_Post
return void

show_translation_checkbox() public method

public show_translation_checkbox ( WP_Post $post, integer $blog_id ) : void
$post WP_Post
$blog_id integer
return void