Helping ordinary people create extraordinary websites!
HOME TUTORIALS SCRIPTS WEB HOSTING BLOG FORUM
Get Our Newsletter
Email:

PEAR_PackageFile::fromTgzFile()

PEAR_PackageFile::fromTgzFile()  -- fromTgzFile

Description

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

Parameter

string $file

name of packaged .tgz or .tar to extract and parse package.xml from

integer $state

package state (one of PEAR_VALIDATE_* constants)

Return value

returns success of parsing

Throws

throws no exceptions thrown

Note

This function can not be called statically.