PEAR_PackageFile::factory

PEAR_PackageFile::factory() – factory

Synopsis

require_once '/PackageFile.php';

PEAR_PackageFile_v1|PEAR_PackageFile_v2& PEAR_PackageFile::factory ( string $version )

Description

Retrieve a raw PEAR_PackageFile_vX object where X is either 1 or 2.

Parameter

string $version

The package.xml version represented (1 or 2)

Throws

throws no exceptions thrown

Note

This function can not be called statically.

PEAR_PackageFile (Previous) Returns package information from different sources (Next)
Last updated: Tue, 29 Jul 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.