PHP Class Mlp_New_Site_View

Afficher le fichier Open project: inpsyde/multilingual-press

Méthodes publiques

Méthode 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

Méthode 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 méthode

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

print_template() public méthode

Prints the MultilingualPress table as template.
public print_template ( ) : void
Résultat void

render() public méthode

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