[ Index ] |
|
Code source de Horde 3.1.3 |
[Code source] [Imprimer] [Statistiques]
Define HORDE_BASE, if it is not already set, and include the main Horde library, since we require it for this package to function.
Poids: | 673 lignes (23 kb) |
Inclus ou requis: | 1 fois |
Référencé: | 1 fois |
Nécessite: | 1 fichier lib/core.php |
Horde_Test:: (13 méthodes):
Horde_Test()
splitPHPVersion()
phpModuleCheck()
phpSettingCheck()
PEARModuleCheck()
requiredFileCheck()
configFilesMissing()
requiredAppCheck()
isRecentPEAR()
getPhpVersionInformation()
applicationList()
_status()
_outputLine()
Classe: Horde_Test - X-Ref
The Horde_Test:: class provides functions used in the test scriptsHorde_Test() X-Ref |
Constructor. |
splitPHPVersion($version) X-Ref |
Parse PHP version. param: string $version A PHP-style version string (X.X.X). param: array The parsed string. |
phpModuleCheck($modlist) X-Ref |
Check the list of PHP modules. param: array $modlist The module list. return: string The HTML output. |
phpSettingCheck($settings_list) X-Ref |
Checks the list of PHP settings. param: array $modlist The settings list. return: string The HTML output. |
PEARModuleCheck($pear_list) X-Ref |
Check the list of PEAR modules. param: array $pear_list The PEAR module list. return: string The HTML output. |
requiredFileCheck($file_list) X-Ref |
Check the list of required files param: array $file_list The file list. return: string The HTML output. |
configFilesMissing($app, $appBase, $files, $additional = array() X-Ref |
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. param: string $app The application name param: string $appBase The path to the application param: array $files An array with the "standard" configuration param: array $additional An associative array containing more files (as |
requiredAppCheck($app_list) X-Ref |
Check the list of required Horde applications. param: array $app_list The application list. return: string The HTML output. |
isRecentPEAR() X-Ref |
Is this a 'recent' version of PEAR? param: boolean True if a recent version of PEAR. |
getPhpVersionInformation() X-Ref |
Obtain information on the PHP version. return: object stdClass TODO |
applicationList() X-Ref |
Get the application list. return: array List of stdClass objects. |
_status($bool, $required = true) X-Ref |
Output the results of a status check. param: boolean $bool The result of the status check. param: boolean $required Whether the checked item is required. return: string The HTML of the result of the status check. |
_outputLine($entry) X-Ref |
Internal output function. param: array $entry 3 element array. return: string HTML output. |
Généré le : Sun Feb 25 18:01:28 2007 | par Balluche grâce à PHPXref 0.7 |