PHP Класс Inpsyde\MultilingualPress\Installation\SystemChecker

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

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

Метод Описание
__construct ( Inpsyde\MultilingualPress\Common\PluginProperties $plugin_properties, Inpsyde\MultilingualPress\Factory\TypeFactory $type_factory ) Constructor. Sets up the properties.
check_installation ( ) : integer Checks the installation for compliance with the system requirements.
check_version ( Inpsyde\MultilingualPress\Common\Type\VersionNumber $installed_version, Inpsyde\MultilingualPress\Common\Type\VersionNumber $current_version ) : integer Checks the installed plugin version.

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

Метод Описание
check_multisite ( ) : void Checks if this is a multisite installation, and collects potential error messages.
check_php_version ( ) : void Checks if the current PHP version is the required version higher, and collects potential error messages.
check_plugin_activation ( ) : void Checks if MultilingualPress has been activated network-wide, and collects potential error messages.
check_wordpress_version ( ) : void Checks if the current WordPress version is the required version higher, and collects potential error messages.
is_plugins_page ( ) : boolean Checks if this is the plugins page in the (Network) Admin.

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

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

Constructor. Sets up the properties.
С версии: 3.0.0
public __construct ( Inpsyde\MultilingualPress\Common\PluginProperties $plugin_properties, Inpsyde\MultilingualPress\Factory\TypeFactory $type_factory )
$plugin_properties Inpsyde\MultilingualPress\Common\PluginProperties Plugin properties object.
$type_factory Inpsyde\MultilingualPress\Factory\TypeFactory Type factory object.

check_installation() публичный метод

Checks the installation for compliance with the system requirements.
С версии: 3.0.0
public check_installation ( ) : integer
Результат integer The status of the installation check.

check_version() публичный метод

Checks the installed plugin version.
С версии: 3.0.0
public check_version ( Inpsyde\MultilingualPress\Common\Type\VersionNumber $installed_version, Inpsyde\MultilingualPress\Common\Type\VersionNumber $current_version ) : integer
$installed_version Inpsyde\MultilingualPress\Common\Type\VersionNumber Installed MultilingualPress version.
$current_version Inpsyde\MultilingualPress\Common\Type\VersionNumber Current MultilingualPress version.
Результат integer The status of the version check.