Method | Description | |
---|---|---|
__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. |
Method | Description | |
---|---|---|
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. |
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. |
public check_installation ( ) : integer | ||
return | integer | The status of the installation check. |
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. |
return | integer | The status of the version check. |