PHP Class Mlp_Language_Manager_Options_Page_Data

Author: Inpsyde GmbH, toscho
Inheritance: implements Inpsyde\MultilingualPress\Common\Type\Setting
Show file Open project: inpsyde/multilingual-press Class Usage Examples

Public Methods

Method Description
__construct ( string $page_title, Inpsyde\MultilingualPress\Factory\TypeFactory $type_factory )
action ( ) : string Returns the action name for the setting.
title ( ) : string Returns the title of the setting.
url ( ) : Inpsyde\MultilingualPress\Common\Type\URL Returns the URL to be used in the according form.

Method Details

__construct() public method

public __construct ( string $page_title, Inpsyde\MultilingualPress\Factory\TypeFactory $type_factory )
$page_title string
$type_factory Inpsyde\MultilingualPress\Factory\TypeFactory Type factory object.

action() public method

Returns the action name for the setting.
Since: 3.0.0
public action ( ) : string
return string Action name.

title() public method

Returns the title of the setting.
Since: 3.0.0
public title ( ) : string
return string Setting title.

url() public method

Returns the URL to be used in the according form.
Since: 3.0.0
public url ( ) : Inpsyde\MultilingualPress\Common\Type\URL
return Inpsyde\MultilingualPress\Common\Type\URL URL to submit updates to.