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


require_once 'PEAR/PackageFileManager.php';

void PEAR_PackageFileManager::debugPackageFile ( )


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 no exceptions thrown


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


This function can not be called statically.

Add an extension/role mapping to the role mapping option (Previous) Utility function to shorten error generation code (Next)
Last updated: Sun, 19 Dec 2010 — 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.