PHP Class Mlp_New_Site_View

ファイルを表示 Open project: inpsyde/multilingual-press

Public Methods

Method Description
__construct ( Inpsyde\MultilingualPress\API\Languages $languages ) Constructor.
print_template ( ) : void Prints the MultilingualPress table as template.
render ( ) : void Renders the MultilingualPress table, and fires an action to inject markup.

Private Methods

Method Description
get_default_language ( ) : string Returns the default language in the format that MultilingualPress's language select requires (e.g., de_DE).
render_language_option ( object $language ) : void Renders the language option element for the given language object.
render_relationships ( ) : void Renders the relationship settings.

Method Details

__construct() public method

Constructor.
public __construct ( Inpsyde\MultilingualPress\API\Languages $languages )
$languages Inpsyde\MultilingualPress\API\Languages

print_template() public method

Prints the MultilingualPress table as template.
public print_template ( ) : void
return void

render() public method

Renders the MultilingualPress table, and fires an action to inject markup.
public render ( ) : void
return void