PEAR_PackageFile::fromTgzFile (Previous) (Next) PEAR_PackageFile::parserFactory

View this page in Last updated: Sun, 28 Sep 2008
English | Dutch | French | German | Hungarian | Japanese | Polish | Plain HTML

PEAR_PackageFile::fromXmlString()

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

integer $state

package state (one of PEAR_VALIDATE_* constants)

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.

PEAR_PackageFile::fromTgzFile (Previous) (Next) PEAR_PackageFile::parserFactory

Download Documentation Last updated: Sun, 28 Sep 2008
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.