프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$_appList | array | KEY: app name VALUE: An array with the following entries: error: (string) Error message. version: (string) Minimum version required of the app. |
|
$_fileList | array | KEY: file path VALUE: The error message to use (null to use default message) |
|
$_moduleList | array | If function returns a string, this error message will be used. phpver: (string) The PHP version above which to do the test | |
$_pearList | array | KEY: PEAR class name VALUE: An array with the following entries: depends: (?) This module depends on another module. error: (string) Error message. function: (string) Reference to function to run if module is found. path: (string) The path to the PEAR module. Only needed if KEY is not autoloadable. required: (boolean) Is this PEAR module required? |
|
$_phpver | array | The PHP version of the system. | |
$_settingsList | array | KEY: setting name VALUE: An array with the following entries: error: (string) Error message. function: (string) Reference to function to run. If function returns non-empty value, error message will be output. setting: (mixed) Either a boolean (whether setting should be on or off) or 'value', which will simply output the value of the setting. |
|
$_supported | array | Supported versions of PHP. |
메소드 | 설명 | |
---|---|---|
__construct ( ) | Constructor. | |
appTests ( ) : string | Any application specific tests that need to be done. | |
getPhpVersionInformation ( ) : object | Obtain information on the PHP version. | |
pearModuleCheck ( ) : string | Check the list of PEAR modules. | |
phpModuleCheck ( ) : string | Check the list of PHP modules. | |
phpSettingCheck ( $settings = null ) : string | Checks the list of PHP settings. | |
requiredAppCheck ( ) : string | Check the list of required Horde applications. | |
requiredFileCheck ( ) : string | Check the list of required files |
메소드 | 설명 | |
---|---|---|
_checkFileinfo ( ) : boolean | Additional check for fileinfo module. | |
_checkGcDivisor ( ) : boolean | Additional check for 'session.gc_divisor'. | |
_checkGcProbability ( ) : boolean | Additional check for 'session.gc_probability'. | |
_checkIconvImplementation ( ) : boolean | Additional check for iconv module implementation. | |
_checkLibxmlVersion ( ) : boolean | Additional check for libxml version. | |
_checkMemoryLimit ( ) : boolean | Additional check for 'session.gc_divisor'. | |
_checkMongo ( ) | ||
_checkPam ( ) | ||
_outputLine ( array $entry ) : string | Internal output function. | |
_requiredFileCheck ( array $filelist, string $php, boolean $is_local = false ) : string | Check the list of required files | |
_splitPhpVersion ( string $version ) | Parse PHP version. | |
_status ( boolean $bool, boolean $required = true ) : string | Output the results of a status check. |
protected _checkFileinfo ( ) : boolean | ||
리턴 | boolean | False on error. |
protected _checkGcDivisor ( ) : boolean | ||
리턴 | boolean | Returns true if error string should be displayed. |
protected _checkGcProbability ( ) : boolean | ||
리턴 | boolean | Returns true if error string should be displayed. |
protected _checkIconvImplementation ( ) : boolean | ||
리턴 | boolean | False on error. |
protected _checkLibxmlVersion ( ) : boolean | ||
리턴 | boolean | False on error. |
protected _checkMemoryLimit ( ) : boolean | ||
리턴 | boolean | Returns true if error string should be displayed. |
protected _outputLine ( array $entry ) : string | ||
$entry | array | Array with the following values:
1st value: Header 2nd value: Test Result 3rd value: Error message (if present) 4th value: Error level (if present): 0 = error, 1 = warning |
리턴 | string | HTML output. |
protected _splitPhpVersion ( string $version ) | ||
$version | string | A PHP-style version string (X.X.X). |
public getPhpVersionInformation ( ) : object | ||
리턴 | object | stdClass TODO |
public pearModuleCheck ( ) : string | ||
리턴 | string | The HTML output. |
public phpModuleCheck ( ) : string | ||
리턴 | string | The HTML output. |
public phpSettingCheck ( $settings = null ) : string | ||
리턴 | string | The HTML output. |
public requiredAppCheck ( ) : string | ||
리턴 | string | The HTML output. |
public requiredFileCheck ( ) : string | ||
리턴 | string | The HTML output. |
KEY: app name VALUE: An array with the following entries: error: (string) Error message. version: (string) Minimum version required of the app.
protected array $_appList | ||
리턴 | array |
KEY: file path VALUE: The error message to use (null to use default message)
protected array $_fileList | ||
리턴 | array |
protected array $_moduleList | ||
리턴 | array |
KEY: PEAR class name VALUE: An array with the following entries: depends: (?) This module depends on another module. error: (string) Error message. function: (string) Reference to function to run if module is found. path: (string) The path to the PEAR module. Only needed if KEY is not autoloadable. required: (boolean) Is this PEAR module required?
protected array $_pearList | ||
리턴 | array |
KEY: setting name VALUE: An array with the following entries: error: (string) Error message. function: (string) Reference to function to run. If function returns non-empty value, error message will be output. setting: (mixed) Either a boolean (whether setting should be on or off) or 'value', which will simply output the value of the setting.
protected array $_settingsList | ||
리턴 | array |