PEAR_PackageFile::fromArray (Previous) (Next) PEAR_PackageFile::fromTgzFile

View this page in Last updated: Sun, 31 Aug 2008
English | Dutch | French | German | Hungarian | Japanese | Polish | Plain HTML

PEAR_PackageFile::fromPackageFile()

PEAR_PackageFile::fromPackageFile()  --  Returns information about a package file. Expects the name of a package.xml file as input.

Description

parse and return a package.xml object from a package.xml file, or a PEAR_Error object upon error.

Parameter

string $descfile

name of package.xml file

integer $state

package state (one of PEAR_VALIDATE_* constants)

string|FALSE $archive

full path to the full package .tgz file containing the package.xml, or false for none.

Return value

returns array with package information

Throws

throws no exceptions thrown

Note

This function should be called statically.

PEAR_PackageFile::fromArray (Previous) (Next) PEAR_PackageFile::fromTgzFile

Download Documentation Last updated: Sun, 31 Aug 2008
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.