PHP Class Horde_Pear_Package_Dependencies, horde

Copyright 2011-2016 Horde LLC (http://www.horde.org/) See the enclosed file COPYING for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.
显示文件 Open project: horde/horde Class Usage Examples

Public Methods

Method Description
addDependency ( array $input, string $type, string $optional, &$result ) : null Add a dependency.
addOther ( array $input, $type, $optional, &$result ) : null Add a package dependency.
addPear ( array $input, &$result ) : null Add the PEAR dependency.
addPhp ( array $input, &$result ) : null Add the PHP dependency.
completeVersions ( array $input, &$element, &$result ) : null Parse version information.

Private Methods

Method Description
_completeMax ( array $input, &$element ) : boolean Complete "max" version information.
_completeMin ( array $input, &$element ) : boolean Complete "min" version information.

Method Details

addDependency() public static method

Add a dependency.
public static addDependency ( array $input, string $type, string $optional, &$result ) : null
$input array The input array.
$type string The dependency type.
$optional string Optional dependency or not?
return null

addOther() public static method

Add a package dependency.
public static addOther ( array $input, $type, $optional, &$result ) : null
$input array The input array.
return null

addPear() public static method

Add the PEAR dependency.
public static addPear ( array $input, &$result ) : null
$input array The input array.
return null

addPhp() public static method

Add the PHP dependency.
public static addPhp ( array $input, &$result ) : null
$input array The input array.
return null

completeVersions() public static method

Parse version information.
public static completeVersions ( array $input, &$element, &$result ) : null
$input array The input array.
return null