Property | Type | Description | |
---|---|---|---|
$_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. |
Method | Description | |
---|---|---|
__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 |
Method | Description | |
---|---|---|
_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 | ||
return | boolean | False on error. |
protected _checkGcDivisor ( ) : boolean | ||
return | boolean | Returns true if error string should be displayed. |
protected _checkGcProbability ( ) : boolean | ||
return | boolean | Returns true if error string should be displayed. |
protected _checkIconvImplementation ( ) : boolean | ||
return | boolean | False on error. |
protected _checkLibxmlVersion ( ) : boolean | ||
return | boolean | False on error. |
protected _checkMemoryLimit ( ) : boolean | ||
return | 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 |
return | string | HTML output. |
protected _splitPhpVersion ( string $version ) | ||
$version | string | A PHP-style version string (X.X.X). |
public getPhpVersionInformation ( ) : object | ||
return | object | stdClass TODO |
public pearModuleCheck ( ) : string | ||
return | string | The HTML output. |
public phpModuleCheck ( ) : string | ||
return | string | The HTML output. |
public phpSettingCheck ( $settings = null ) : string | ||
return | string | The HTML output. |
public requiredAppCheck ( ) : string | ||
return | string | The HTML output. |
public requiredFileCheck ( ) : string | ||
return | 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 | ||
return | array |
KEY: file path VALUE: The error message to use (null to use default message)
protected array $_fileList | ||
return | array |
protected array $_moduleList | ||
return | 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 | ||
return | 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 | ||
return | array |
protected array $_supported | ||
return | array |