PEAR Manual
Prev |  | Next

# 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.

Prev | Home | Next
PEAR_Dependency2::validateArchDependency() | Up | PEAR_Dependency2::validateExtensionDependency()