PEAR_PackageFile::factory | PEAR_PackageFile::fromArray |
PEAR | |
PEAR Manual | |
require_once '/PackageFile.php'; |
string&
PEAR_PackageFile::fromAnyFile
(
string
$info
,
int
$state
)
This method is able to extract information about a package from a .tgz archive or from a XML package definition file.
path to a file containing a package.xml (package archive or package.xml)
package state (one of PEAR_VALIDATE_* constants)
throws no exceptions thrown
This function should be called statically.
PEAR_PackageFile::factory | PEAR_PackageFile::fromArray |
PEAR | |
PEAR Manual | |