| [ Index ] |
|
Code source de GeekLog 1.4.1 |
[Code source] [Imprimer] [Statistiques]
PEAR_Dependency2, advanced dependency validation PHP versions 4 and 5
| Author: | Greg Beaver <cellog@php.net> |
| Copyright: | 1997-2006 The PHP Group |
| License: | http://www.php.net/license/3_0.txt PHP License 3.0 |
| Version: | CVS: $Id: Dependency2.php,v 1.50 2006/01/06 04:47:36 cellog Exp $ |
| Poids: | 1202 lignes (49 kb) |
| Inclus ou requis: | 0 fois |
| Référencé: | 0 fois |
| Nécessite: | 0 fichiers |
PEAR_Dependency2:: (25 méthodes):
PEAR_Dependency2()
_getExtraString()
getPHP_OS()
getsysname()
validateOsDependency()
matchSignature()
validateArchDependency()
extension_loaded()
phpversion()
validateExtensionDependency()
validatePhpDependency()
getPEARVersion()
validatePearinstallerDependency()
validateSubpackageDependency()
validatePackageDependency()
_validatePackageDownload()
_validatePackageInstall()
validatePackageUninstall()
_validatePackageUninstall()
validatePackage()
validateDependency1()
normalizeDep()
signOperator()
raiseError()
warning()
Classe: PEAR_Dependency2 - X-Ref
Dependency check for PEAR packages| PEAR_Dependency2(&$config, $installoptions, $package,$state = PEAR_VALIDATE_INSTALLING) X-Ref |
param: PEAR_Config param: array installation options param: array format of PEAR_Registry::parsedPackageName() param: int installation state (one of PEAR_VALIDATE_*) |
| _getExtraString($dep) X-Ref |
| Pas de description |
| getPHP_OS() X-Ref |
| This makes unit-testing a heck of a lot easier |
| getsysname() X-Ref |
| This makes unit-testing a heck of a lot easier |
| validateOsDependency($dep) X-Ref |
| Specify a dependency on an OS. Use arch for detailed os/processor information There are two generic OS dependencies that will be the most common, unix and windows. Other options are linux, freebsd, darwin (OS X), sunos, irix, hpux, aix |
| matchSignature($pattern) X-Ref |
| This makes unit-testing a heck of a lot easier |
| validateArchDependency($dep) X-Ref |
| Specify a complex dependency on an OS/processor/kernel version, Use OS for simple operating system dependency. This is the only dependency that accepts an eregable pattern. The pattern will be matched against the php_uname() output parsed by OS_Guess |
| extension_loaded($name) X-Ref |
| This makes unit-testing a heck of a lot easier |
| phpversion($name = null) X-Ref |
| This makes unit-testing a heck of a lot easier |
| validateExtensionDependency($dep, $required = true) X-Ref |
| Pas de description |
| validatePhpDependency($dep) X-Ref |
| Pas de description |
| getPEARVersion() X-Ref |
| This makes unit-testing a heck of a lot easier |
| validatePearinstallerDependency($dep) X-Ref |
| Pas de description |
| validateSubpackageDependency($dep, $required, $params) X-Ref |
| Pas de description |
| validatePackageDependency($dep, $required, $params, $depv1 = false) X-Ref |
param: array dependency information (2.0 format) param: boolean whether this is a required dependency param: array a list of downloaded packages to be installed, if any param: boolean if true, then deps on pear.php.net that fail will also check |
| _validatePackageDownload($dep, $required, $params, $depv1 = false) X-Ref |
| Pas de description |
| _validatePackageInstall($dep, $required, $depv1 = false) X-Ref |
| Pas de description |
| validatePackageUninstall(&$dl) X-Ref |
| Verify that uninstalling packages passed in to command line is OK. param: PEAR_Installer $dl return: PEAR_Error|true |
| _validatePackageUninstall($dep, $required, $params, &$dl) X-Ref |
| Pas de description |
| validatePackage($pkg, &$dl, $params = array() X-Ref |
| validate a downloaded package against installed packages As of PEAR 1.4.3, this will only validate param: array|PEAR_Downloader_Package|PEAR_PackageFile_v1|PEAR_PackageFile_v2 param: PEAR_Downloader $dl param: array $params full list of packages to install return: true|PEAR_Error |
| validateDependency1($dep, $params = array() X-Ref |
| validate a package.xml 1.0 dependency |
| normalizeDep($dep) X-Ref |
| Convert a 1.0 dep into a 2.0 dep |
| signOperator($operator) X-Ref |
| Converts text comparing operators to them sign equivalents Example: 'ge' to '>=' param: string Operator return: string Sign equivalent |
| raiseError($msg) X-Ref |
| Pas de description |
| warning($msg) X-Ref |
| Pas de description |
| Généré le : Wed Nov 21 12:27:40 2007 | par Balluche grâce à PHPXref 0.7 |
|