PHP Class Mlp_Advanced_Translator

Author: Inpsyde GmbH, toscho
Datei anzeigen Open project: inpsyde/multilingual-press

Public Methods

Method Description
__construct ( Inpsyde_Property_List_Interface $data ) Constructor
localize_script ( ) : void Provides necessary data for the CopyPost JavaScript module.
process_post_data ( ) : void Processes (and filters) a post's data before it is copied to a remote post.
register_metabox_view_details ( WP_Post $post, integer $blog_id ) : void
setup ( array $base_data ) : void Set up the properties.

Private Methods

Method Description
register_setting ( ) : boolean Register our UI for the module manager.

Method Details

__construct() public method

Constructor
public __construct ( Inpsyde_Property_List_Interface $data )
$data Inpsyde_Property_List_Interface

localize_script() public method

Provides necessary data for the CopyPost JavaScript module.
public localize_script ( ) : void
return void

process_post_data() public method

Processes (and filters) a post's data before it is copied to a remote post.
public process_post_data ( ) : void
return void

register_metabox_view_details() public method

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

setup() public method

Set up the properties.
public setup ( array $base_data ) : void
$base_data array Base data.
return void