PEAR Manual
Prev |  | Next

# PEAR_PackageFileManager::debugPackageFile()

PEAR_PackageFileManager::debugPackageFile() -- ALWAYS use this to test output before overwriting your package.xml!!

## Synopsis

    require_once 'PEAR/PackageFileManager.php';

``void PEAR_PackageFileManager::debugPackageFile` ()`

## Description

This method instructs writePackageFile() to simply print the package.xml to output, either command-line or web-friendly (this is automatic based on the existence of $_SERVER['PATH_TRANSLATED']

## Throws

throws no exceptions thrown

## See

see PEAR_PackageFileManager::writePackageFile() - calls with the debug parameter set based on whether it is called from the command-line or web interface

## Note

This function can not be called statically.

Prev | Home | Next
PEAR_PackageFileManager::detectDependencies() | Up | PEAR_PackageFileManager::getWarnings()