PEAR Manual
Prev |  | Next

# constructor PEAR_PackageFile::PEAR_PackageFile()

constructor PEAR_PackageFile::PEAR_PackageFile() -- PEAR_PackageFile

## Synopsis

    require_once '/PackageFile.php';

``void constructor PEAR_PackageFile::PEAR_PackageFile` (PEAR_Config &$config, bool [$debug = `FALSE`], string [$tmpdir = `FALSE`])`

## Description

Prepare for parsing one or more package.xml files.

## Parameter

PEAR_Config `&$config`

  The configuration to use for parsing and channel registry (needed for channel-specific validators).

boolean `$debug`

  The debug logging level (this is usually the value of the `verbose` configuration variable).

string `$tmpdir`

  The temporary directory to extract files in. By default, a new temporary directory is created using System::mktemp().

## Throws

throws no exceptions thrown

## Note

This function can not be called statically.

Prev | Home | Next
Class Summary PEAR_PackageFile | Up | PEAR_PackageFile::factory()