PEAR_PackageFile::fromPackageFile()
--
Returns information about a package file. Expects the name of a package.xml
file as input.
Beschrijving
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
- string|FALSE
$archive
full path to the full package .tgz file containing the package.xml, or
false for none.
Return waarde
returns
array with package information
Throws
throws
no exceptions thrown
Note
Deze functie zou statisch moeten worden aangeroepen.