PEAR Manual
Prev |  | Next

# PEAR_Common::xmlFromInfo()

PEAR_Common::xmlFromInfo() -- Return an XML document based on the package info

## Synopsis

    require_once 'PEAR/common.php';

``string PEAR_Common::xmlFromInfo` (array $pkginfo)`

## Description

Return an XML document based on the package info (as returned by the PEAR_Common::infoFrom*() methods).

## Parameter

array `$pkginfo`

  package info

## Return value

`string` - XML data

## Note

This function can not be called statically.

Prev | Home | Next
PEAR_Common::validPackageName() | Up | PEAR_Config