PEAR_PackageFile::parserFactory

PEAR_PackageFile::parserFactory() – parserFactory

Synopsis

require_once '/PackageFile.php';

PEAR_PackageFile_Parser_v1|PEAR_PackageFile_Parser_v2& PEAR_PackageFile::parserFactory ( string $version )

Description

Return a package.xml parsing object appropriate for the selected package.xml version.

Parameter

string $version

The package.xml version represented (1 or 2)

Throws

throws no exceptions thrown

Note

This function can not be called statically.

fromXmlString (Previous) Turn off validation - return a parsed package.xml without checking it for errors (Next)
Last updated: Wed, 01 Oct 2014 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report or add a note.
View this page in:

User Notes:

There are no user contributed notes for this page.