Documentation

Horde_Pear_Package_Dependencies
in package

Handles dependency conversions.

Tags
author

Gunnar Wrobel wrobel@pardus.de

category

Horde

copyright

2011-2017 Horde LLC

license

http://www.horde.org/licenses/lgpl21 LGPL 2.1

Table of Contents

addDependency()  : null
Add a dependency.
addOther()  : null
Add a package dependency.
addPear()  : null
Add the PEAR dependency.
addPhp()  : null
Add the PHP dependency.
completeVersions()  : null
Parse version information.
_completeMax()  : bool
Complete "max" version information.
_completeMin()  : bool
Complete "min" version information.

Methods

addDependency()

Add a dependency.

public static addDependency(array<string|int, mixed> $input, string $type, string $optional, array<string|int, mixed> &$result) : null
Parameters
$input : array<string|int, mixed>

The input array.

$type : string

The dependency type.

$optional : string

Optional dependency or not?

$result : array<string|int, mixed>

The result array.

Return values
null

addOther()

Add a package dependency.

public static addOther(array<string|int, mixed> $input, mixed $type, mixed $optional, array<string|int, mixed> &$result) : null
Parameters
$input : array<string|int, mixed>

The input array.

$type : mixed
$optional : mixed
$result : array<string|int, mixed>

The result array.

Return values
null

addPear()

Add the PEAR dependency.

public static addPear(array<string|int, mixed> $input, array<string|int, mixed> &$result) : null
Parameters
$input : array<string|int, mixed>

The input array.

$result : array<string|int, mixed>

The result array.

Return values
null

addPhp()

Add the PHP dependency.

public static addPhp(array<string|int, mixed> $input, array<string|int, mixed> &$result) : null
Parameters
$input : array<string|int, mixed>

The input array.

$result : array<string|int, mixed>

The result array.

Return values
null

completeVersions()

Parse version information.

public static completeVersions(array<string|int, mixed> $input, array<string|int, mixed> &$element, array<string|int, mixed> &$result) : null
Parameters
$input : array<string|int, mixed>

The input array.

$element : array<string|int, mixed>

The basic element information.

$result : array<string|int, mixed>

The result array.

Return values
null

_completeMax()

Complete "max" version information.

private static _completeMax(array<string|int, mixed> $input, array<string|int, mixed> &$element) : bool
Parameters
$input : array<string|int, mixed>

The input array.

$element : array<string|int, mixed>

The basic element information.

Return values
bool

True if the was "max" information available.

_completeMin()

Complete "min" version information.

private static _completeMin(array<string|int, mixed> $input, array<string|int, mixed> &$element) : bool
Parameters
$input : array<string|int, mixed>

The input array.

$element : array<string|int, mixed>

The basic element information.

Return values
bool

True if the was "min" information available.

Search results