PHP Class Multilingual_Press

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

Public Methods

Method 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.

Protected Methods

Method Description
load_features ( ) : array Find and load core and pro features.

Private Methods

Method Description
run_admin_actions ( ) : void
run_frontend_actions ( ) : void

Method Details

__construct() public method

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

check_for_errors() public method

Checks for errors
public check_for_errors ( ) : boolean
return boolean

check_for_user_errors_admin_notice() public method

Checks for errors
Since: 0.9

delete_blog() public method

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.
return void

language_attributes() public method

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

late_load() public method

public late_load ( ) : void
return void

load_features() protected method

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

prepare_plugin_data() public method

public prepare_plugin_data ( ) : void
return void

setup() public method

Initial setup handler.
public setup ( ) : boolean
return boolean