PHP Class Multilingual_Press

Kind of a front controller.
Author: Inpsyde GmbH, toscho
Afficher le fichier Open project: inpsyde/multilingual-press Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( Inpsyde\MultilingualPress\Service\Container $container ) Constructor
check_for_errors ( ) : boolean Checks for errors
check_for_user_errors_admin_notice ( ) : void Checks for errors
delete_blog ( integer $blog_id ) : void Remove deleted blog from 'inpsyde_multilingual' site option and clean up linked elements table.
language_attributes ( string $output ) : string Use the current blog's language for the html tag.
late_load ( ) : void
prepare_plugin_data ( ) : void
setup ( ) : boolean Initial setup handler.

Méthodes protégées

Méthode Description
load_features ( ) : array Find and load core and pro features.

Private Methods

Méthode Description
run_admin_actions ( ) : void
run_frontend_actions ( ) : void

Method Details

__construct() public méthode

Constructor
public __construct ( Inpsyde\MultilingualPress\Service\Container $container )
$container Inpsyde\MultilingualPress\Service\Container

check_for_errors() public méthode

Checks for errors
public check_for_errors ( ) : boolean
Résultat boolean

check_for_user_errors_admin_notice() public méthode

Checks for errors
Since: 0.9

delete_blog() public méthode

Remove deleted blog from 'inpsyde_multilingual' site option and clean up linked elements table.
public delete_blog ( integer $blog_id ) : void
$blog_id integer ID of the deleted blog.
Résultat void

language_attributes() public méthode

Use the current blog's language for the html tag.
public language_attributes ( string $output ) : string
$output string Language attributes HTML.
Résultat string

late_load() public méthode

public late_load ( ) : void
Résultat void

load_features() protected méthode

Find and load core and pro features.
Since: 0.1
protected load_features ( ) : array
Résultat array Files to include

prepare_plugin_data() public méthode

public prepare_plugin_data ( ) : void
Résultat void

setup() public méthode

Initial setup handler.
public setup ( ) : boolean
Résultat boolean