PEAR_PackageFileManager::setOptions | Class Summary PEAR_PackageFileManager_CVS |
PEAR_PackageFileManager | |
PEAR Manual | |
require_once 'PEAR/PackageFileManager.php'; |
void|PEAR_Error PEAR_PackageFileManager::writePackageFile (
boolean $debuginterface = NULL
)
ALWAYS use debugPackageFile() to verify that output is correct before overwriting your package.xml
NULL if no debugging, TRUE if web interface, FALSE if command-line
throws PEAR_PACKAGEFILEMANAGER_RUN_SETOPTIONS
throws PEAR_PACKAGEFILEMANAGER_ADD_MAINTAINERS
throws PEAR_PACKAGEFILEMANAGER_CANTWRITE_PKGFILE
throws PEAR_PACKAGEFILEMANAGER_CANTOPEN_TMPPKGFILE
throws PEAR_PACKAGEFILEMANAGER_CANTCOPY_PKGFILE
throws PEAR_PACKAGEFILEMANAGER_DEST_UNWRITABLE
see PEAR_PackageFileManager::debugPackageFile() - 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.
PEAR_PackageFileManager::setOptions | Class Summary PEAR_PackageFileManager_CVS |
PEAR_PackageFileManager | |
PEAR Manual | |