PHP 클래스 Inpsyde\MultilingualPress\Installation\SystemChecker

부터: 3.0.0
파일 보기 프로젝트 열기: inpsyde/multilingual-press

공개 메소드들

메소드 설명
__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.