\Horde_Pear_Package_Dependencies

Handles dependency conversions.

Summary

Methods
Properties
Constants
addDependency()
addPhp()
addPear()
addOther()
completeVersions()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
_completeMin()
_completeMax()
No private properties found
N/A

Methods

addDependency()

addDependency(array  $input, string  $type, string  $optional,   $result) : NULL

Add a dependency.

Parameters

array $input

The input array.

string $type

The dependency type.

string $optional

Optional dependency or not?

$result

Returns

NULL

addPhp()

addPhp(array  $input,   $result) : NULL

Add the PHP dependency.

Parameters

array $input

The input array.

$result

Returns

NULL

addPear()

addPear(array  $input,   $result) : NULL

Add the PEAR dependency.

Parameters

array $input

The input array.

$result

Returns

NULL

addOther()

addOther(array  $input,   $type,   $optional,   $result) : NULL

Add a package dependency.

Parameters

array $input

The input array.

$type
$optional
$result

Returns

NULL

completeVersions()

completeVersions(array  $input,   $element,   $result) : NULL

Parse version information.

Parameters

array $input

The input array.

$element
$result

Returns

NULL

_completeMin()

_completeMin(array  $input,   $element) : boolean

Complete "min" version information.

Parameters

array $input

The input array.

$element

Returns

boolean —

True if the was "min" information available.

_completeMax()

_completeMax(array  $input,   $element) : boolean

Complete "max" version information.

Parameters

array $input

The input array.

$element

Returns

boolean —

True if the was "max" information available.