PEAR_Dependency2::validateDependency1

PEAR_Dependency2::validateDependency1() – validate a package.xml 1.0 dependency

Synopsis

require_once '/Dependency2.php';

true|PEAR_Error|array PEAR_Dependency2::validateDependency1 ( array $dep , array $params = array() )

Description

Validate a package.xml version 1.0 <dep> dependency.

Parameter

array $dep

The contents of the <dep> tag as parsed from xml

array $params

The list of PEAR_Downloader_Package objects that will be installed.

Throws

throws no exceptions thrown

Note

This function can not be called statically.

Specify a complex dependency on an OS/processor/kernel version, Use OS for simple operating system dependency. (Previous) validate a dependency on a PHP extension (Next)
Last updated: Sat, 16 Feb 2019 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report.
View this page in:
  • English

User Notes:

There are no user contributed notes for this page.