[ Index ]
 

Code source de Horde 3.1.3

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/lib/ -> Test.php (sommaire)

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

Définit 1 class

Horde_Test:: (13 méthodes):
  Horde_Test()
  splitPHPVersion()
  phpModuleCheck()
  phpSettingCheck()
  PEARModuleCheck()
  requiredFileCheck()
  configFilesMissing()
  requiredAppCheck()
  isRecentPEAR()
  getPhpVersionInformation()
  applicationList()
  _status()
  _outputLine()

Définit 13 fonctions

  _()

Classe: Horde_Test  - X-Ref

The 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.19 2006/03/28 12:31:13 jan Exp $

Copyright 1999-2006 Charles J. Hagenbuch <chuck@horde.org>
Copyright 1999-2006 Jon Parise <jon@horde.org>
Copyright 2002-2006 Brent J. Nordquist <bjn@horde.org>
Copyright 2003-2006 Michael Slusarz <slusarz@bigworm.colorado.edu>

See the enclosed file COPYING for license information (LGPL).  If you
did not receive this file, see http://www.fsf.org/copyleft/lgpl.html.

Horde_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.

Fonctions
Fonctions qui ne font pas partie d'une Classe:

_($s)   X-Ref
Pas de description



Généré le : Sun Feb 25 18:01:28 2007 par Balluche grâce à PHPXref 0.7