Javascript validator
Web page editor
↑
PEAR_PackageFile::fromXmlString()
-- fromXmlString
Description
parse and return a package.xml object, or a
PEAR_Error object
upon error.
Parameter
- string
$data
contents of package.xml file
- string
$file
full path to the package.xml file (and the files it references)
- string|FALSE
$archive
full path to the full package .tgz file containing the package.xml, or
false for none.
Throws
throws
no exceptions thrown
Note
This function can not be called
statically.
→
Javascript validator
Web page editor