PHP Class Inpsyde\MultilingualPress\Common\Type\FilterableTranslation

Since: 3.0.0
Inheritance: implements Inpsyde\MultilingualPress\Common\Type\Translation
Datei anzeigen Open project: inpsyde/multilingual-press

Public Methods

Method Description
__construct ( array $args, Inpsyde\MultilingualPress\Common\Type\Language $language ) Constructor. Sets up the properties.
icon_url ( ) : Inpsyde\MultilingualPress\Common\Type\URL Returns the icon URL object.
language ( ) : Inpsyde\MultilingualPress\Common\Type\Language Returns the language object.
remote_title ( ) : string Returns the remote title.
remote_url ( ) : string Returns the remote URL.
source_site_id ( ) : integer Returns the source site ID.
target_content_id ( ) : integer Returns the target content ID.
target_site_id ( ) : integer Returns the target site ID.
type ( ) : string Returns the content type.

Method Details

__construct() public method

Constructor. Sets up the properties.
Since: 3.0.0
public __construct ( array $args, Inpsyde\MultilingualPress\Common\Type\Language $language )
$args array Translation arguments.
$language Inpsyde\MultilingualPress\Common\Type\Language Language object.

icon_url() public method

Returns the icon URL object.
Since: 3.0.0
public icon_url ( ) : Inpsyde\MultilingualPress\Common\Type\URL
return Inpsyde\MultilingualPress\Common\Type\URL Icon URL object.

language() public method

Returns the language object.
Since: 3.0.0
public language ( ) : Inpsyde\MultilingualPress\Common\Type\Language
return Inpsyde\MultilingualPress\Common\Type\Language Language object.

remote_title() public method

Returns the remote title.
Since: 3.0.0
public remote_title ( ) : string
return string Remote title.

remote_url() public method

Returns the remote URL.
Since: 3.0.0
public remote_url ( ) : string
return string Remote URL.

source_site_id() public method

Returns the source site ID.
Since: 3.0.0
public source_site_id ( ) : integer
return integer Source site ID.

target_content_id() public method

Returns the target content ID.
Since: 3.0.0
public target_content_id ( ) : integer
return integer Target content ID.

target_site_id() public method

Returns the target site ID.
Since: 3.0.0
public target_site_id ( ) : integer
return integer Target site ID.

type() public method

Returns the content type.
Since: 3.0.0
public type ( ) : string
return string Content type.