PEAR_PackageFile::factory (Previous) (Next) PEAR_PackageFile::fromArray

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

PEAR_PackageFile::fromAnyFile()

PEAR_PackageFile::fromAnyFile()  -- Returns package information from different sources

Description

This method is able to extract information about a package from a .tgz archive or from a XML package definition file.

Parameter

string $info

path to a file containing a package.xml (package archive or package.xml)

integer $state

package state (one of PEAR_VALIDATE_* constants)

Throws

throws no exceptions thrown

Note

This function should be called statically.

PEAR_PackageFile::factory (Previous) (Next) PEAR_PackageFile::fromArray

Download Documentation Last updated: Sun, 28 Sep 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.