Horde_TestThe Horde_Test:: class provides functions used in the test scripts used in the various applications (test.php).
$Horde: horde/lib/Test.php,v 1.31.4.26 2009/01/06 15:24:51 jan Exp $
Copyright 1999-2009 The Horde Project (http://www.horde.org/)
See the enclosed file COPYING for license information (LGPL). If you did not receive this file, see http://www.fsf.org/copyleft/lgpl.html.
Located in /lib/Test.php (line 42)
array
$applications
= array() (line 50)
Array that holds the list of Horde applications.
(Loaded from config/registry.php)
array
$_appoutput
= array() (line 57)
Cached results of getApplications().
array
$_phpver
(line 64)
The PHP version of the system.
array
$_supported
= array(Supported versions of PHP.
Constructor Horde_Test (line 78)
Constructor.
applicationList (line 624)
Get the application list.
configFilesMissing (line 418)
Displays an error screen with a list of all configuration files that are missing, together with a description what they do and how they are created. If a file can be automatically created from the defaults, then we do that instead and don't display an error.
getPhpVersionInformation (line 578)
Obtain information on the PHP version.
isRecentPEAR (line 564)
Is this a 'recent' version of PEAR?
PEARModuleCheck (line 285)
Check the list of PEAR modules.
KEY: PEAR class name
VALUE: An array with the following entries:
'depends' -- This module depends on another module
'error' -- Error Message
'function' -- Reference to function to run if module is found
'path' -- The path to the PEAR module
'required' -- Is this PEAR module required? (boolean)
phpModuleCheck (line 168)
Check the list of PHP modules.
KEY: module name
VALUE: Either the description or an array with the following entries:
'descrip' -- Module Description
'error' -- Error Message
'fatal' -- Is missing module fatal?
'phpver' -- The PHP version above which to do the test
phpSettingCheck (line 242)
Checks the list of PHP settings.
requiredAppCheck (line 527)
Check the list of required Horde applications.
KEY: application name
VALUE: An array with the following entries:
'error' -- Error Message
'version' -- The minimum version required
requiredFileCheck (line 375)
Check the list of required files
KEY: file path VALUE: The error message to use (null to use default message)
splitPHPVersion (line 104)
Parse PHP version.
Documentation generated on Sun, 30 Jan 2011 05:26:54 +0000 by phpDocumentor 1.4.3