require_once '/PackageFile.php';
PEAR_PackageFile_v1|PEAR_PackageFile_v2|PEAR_Error& PEAR_PackageFile::fromTgzFile (string $file, int $state)
PEAR_PackageFile_v1|PEAR_PackageFile_v2|PEAR_Error& PEAR_PackageFile::fromTgzFile
parse and return a package.xml object from a packaged archive, or a PEAR_Error object upon error.
name of packaged .tgz or .tar to extract and parse package.xml from
package state (one of PEAR_VALIDATE_* constants)
returns success of parsing
throws no exceptions thrown
This function can not be called statically.