PHP Класс Inpsyde\MultilingualPress\MultilingualPress

С версии: 3.0.0
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
__construct ( Inpsyde\MultilingualPress\Service\Container $container ) Constructor. Sets up the properties.
bootstrap ( ) : boolean Bootstraps MultilingualPress.
register_service_provider ( Inpsyde\MultilingualPress\Service\ServiceProvider $provider ) : static Registers the given service provider.
resolve ( string $name ) : mixed Resolve a shared value or factory callback from the container.

Приватные методы

Метод Описание
bootstrap_admin ( ) : void Wires up all admin-specific things.
bootstrap_front_end ( ) : void Wires up all front-end-specific things.
bootstrap_service_providers ( ) : void Bootstraps all registered bootstrappable service providers.
check_installation ( ) : boolean Checks (and adapts) the current MultilingualPress installation.
needs_modules ( ) : boolean Checks if the current request needs MultilingualPress to register any modules.
register_modules ( ) : void Registers all modules.
register_sites_list_table_columns ( ) : void Registers columns for the list table on the Sites page in the Network Admin.

Описание методов

__construct() публичный Метод

Constructor. Sets up the properties.
С версии: 3.0.0
public __construct ( Inpsyde\MultilingualPress\Service\Container $container )
$container Inpsyde\MultilingualPress\Service\Container Container object.

bootstrap() публичный Метод

Bootstraps MultilingualPress.
С версии: 3.0.0
public bootstrap ( ) : boolean
Результат boolean Whether or not MultilingualPress was bootstrapped successfully.

register_service_provider() публичный Метод

Registers the given service provider.
С версии: 3.0.0
public register_service_provider ( Inpsyde\MultilingualPress\Service\ServiceProvider $provider ) : static
$provider Inpsyde\MultilingualPress\Service\ServiceProvider Service provider object.
Результат static MultilingualPress instance.

resolve() публичный статический Метод

Resolve a shared value or factory callback from the container.
С версии: 3.0.0
public static resolve ( string $name ) : mixed
$name string The name of a value or factory callback.
Результат mixed The value or factory callback.